diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-20 07:19:40 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-29 16:00:11 (GMT) |
commit | 488a89e2671fb93981db6c71f3557500b9f52588 (patch) | |
tree | 4df075868fdf9925cd7b92bc913987e6953191c1 /src | |
parent | f56f27e2cfd5880dfa8435f7648b080e02c8ee99 (diff) | |
download | Qt-488a89e2671fb93981db6c71f3557500b9f52588.zip Qt-488a89e2671fb93981db6c71f3557500b9f52588.tar.gz Qt-488a89e2671fb93981db6c71f3557500b9f52588.tar.bz2 |
Fix QT_NO_GROUPBOX
Reviewed-by: tom
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/styles/qcleanlooksstyle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qcleanlooksstyle.cpp b/src/gui/styles/qcleanlooksstyle.cpp index fc12cfe..973e682 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); |