summaryrefslogtreecommitdiffstats
path: root/examples/widgets/wiggly/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-04-27 17:16:41 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-05-04 16:34:57 (GMT)
commitb727e5b95c1f0bd308b228fcf0445b42847ae583 (patch)
treee120ca1ec5c2e303fb6fca97bc9754403e0f25f2 /examples/widgets/wiggly/main.cpp
parent6d1e0faa19be784f79730d65af9c1a162245c7dc (diff)
downloadQt-b727e5b95c1f0bd308b228fcf0445b42847ae583.zip
Qt-b727e5b95c1f0bd308b228fcf0445b42847ae583.tar.gz
Qt-b727e5b95c1f0bd308b228fcf0445b42847ae583.tar.bz2
Squashed commit of the changes from the mobile-examples repository
(4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
Diffstat (limited to 'examples/widgets/wiggly/main.cpp')
-rw-r--r--examples/widgets/wiggly/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/widgets/wiggly/main.cpp b/examples/widgets/wiggly/main.cpp
index 91cd1b8..0b92228 100644
--- a/examples/widgets/wiggly/main.cpp
+++ b/examples/widgets/wiggly/main.cpp
@@ -47,6 +47,10 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
bool smallScreen = QApplication::arguments().contains("-small-screen");
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_HILDON) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR)
+ smallScreen = true;
+#endif
+
Dialog dialog(0, smallScreen);
if (!smallScreen)