summaryrefslogtreecommitdiff
path: root/src/gui/styles/qcleanlooksstyle.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-20 09:19:40 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 17:00:11 +0100
commit488a89e2671fb93981db6c71f3557500b9f52588 (patch)
tree4df075868fdf9925cd7b92bc913987e6953191c1 /src/gui/styles/qcleanlooksstyle.cpp
parentf56f27e2cfd5880dfa8435f7648b080e02c8ee99 (diff)
downloadqt4-tools-488a89e2671fb93981db6c71f3557500b9f52588.tar.gz
Fix QT_NO_GROUPBOX
Reviewed-by: tom
Diffstat (limited to 'src/gui/styles/qcleanlooksstyle.cpp')
-rw-r--r--src/gui/styles/qcleanlooksstyle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qcleanlooksstyle.cpp b/src/gui/styles/qcleanlooksstyle.cpp
index fc12cfe28d..973e6823fe 100644
--- a/src/gui/styles/qcleanlooksstyle.cpp
+++ b/src/gui/styles/qcleanlooksstyle.cpp
@@ -3825,6 +3825,7 @@ QSize QCleanlooksStyle::sizeFromContents(ContentsType type, const QStyleOption *
}
}
break;
+#ifndef QT_NO_GROUPBOX
case CT_GroupBox:
// Since we use a bold font we have to recalculate base width
if (const QGroupBox *gb = qobject_cast<const QGroupBox*>(widget)) {
@@ -3840,6 +3841,7 @@ QSize QCleanlooksStyle::sizeFromContents(ContentsType type, const QStyleOption *
}
newSize += QSize(0, 1);
break;
+#endif //QT_NO_GROUPBOX
case CT_RadioButton:
case CT_CheckBox:
newSize += QSize(0, 1);