Skip to content

Commit

Permalink
indent QColor::alphaF() method
Browse files Browse the repository at this point in the history
Signed-off-by: Ivailo Monev <[email protected]>
  • Loading branch information
fluxer committed Nov 23, 2021
1 parent ed83bb3 commit 843c9a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/painting/qcolor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,9 @@ void QColor::setAlpha(int alpha)
Drawing}{Alpha-Blended Drawing}
*/
qreal QColor::alphaF() const
{ return ct.argb.alpha / qreal(USHRT_MAX); }
{
return ct.argb.alpha / qreal(USHRT_MAX);
}
/*!
Sets the alpha of this color to \a alpha. qreal alpha is specified in the
Expand Down

0 comments on commit 843c9a0

Please sign in to comment.