diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-12-10 09:34:45 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-12-10 09:34:45 (GMT) |
commit | f2ab8acd583941dcd673c627ff03d25e519e1f6b (patch) | |
tree | bf84bb616023a93a62638ca676e65f5cbce84ec2 | |
parent | 9d8dac4e4509795b6af8a5885f6e9f1a3ccbaa06 (diff) | |
download | Qt-f2ab8acd583941dcd673c627ff03d25e519e1f6b.zip Qt-f2ab8acd583941dcd673c627ff03d25e519e1f6b.tar.gz Qt-f2ab8acd583941dcd673c627ff03d25e519e1f6b.tar.bz2 |
Fix whitespace in qs60style.cpp
Reviewed-by: TrustMe
-rw-r--r-- | src/gui/styles/qs60style.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 3c715b7..56d2d19 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -2889,7 +2889,7 @@ QRect QS60Style::subControlRect(ComplexControl control, const QStyleOptionComple const int frameThickness = cmb->frame ? pixelMetric(PM_SpinBoxFrameWidth, cmb, widget) : 0; const int buttonMinSize = QS60StylePrivate::pixelMetric(PM_ButtonIconSize) + 2 * buttonMargin; QSize buttonSize; - //allow button to grow to one fourth of the frame height, if the frame is really tall + //allow button to grow to one fourth of the frame height, if the frame is really tall buttonSize.setHeight(qMin(height, qMax(width / 4, buttonMinSize))); buttonSize.setWidth(buttonSize.height()); buttonSize = buttonSize.expandedTo(QApplication::globalStrut()); |