summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-18 22:40:15 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-18 22:40:15 (GMT)
commit9bee0352ad9d9037c914c517486fe40f497f288a (patch)
tree8c6bb66047fe22c16f16131b859a79535e186667 /src/gui
parent01cd9579af3b0c3546b7b8a7d9e2bd37bd2e327b (diff)
parent521df9e30df41b49da7d856c833946417ec4856b (diff)
downloadQt-9bee0352ad9d9037c914c517486fe40f497f288a.zip
Qt-9bee0352ad9d9037c914c517486fe40f497f288a.tar.gz
Qt-9bee0352ad9d9037c914c517486fe40f497f288a.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Prepend epocroot to extra target tools if they start with /epoc32/ QS60Style: ComboBox disappears after orientation switch
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/qs60style.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 1e32bd8..50e8a5b 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -2620,6 +2620,8 @@ QSize QS60Style::sizeFromContents(ContentsType ct, const QStyleOption *opt,
sz = QCommonStyle::sizeFromContents( ct, opt, csz, widget);
break;
}
+ if (!sz.isValid())
+ sz = QCommonStyle::sizeFromContents(ct, opt, csz, widget);
return sz;
}