summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-06 12:21:37 +0200
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-06-06 12:21:37 +0200
commit53d1557f1ef4969bd5c8d68b82a0151ae03f004a (patch)
treea17c3de20370a6ec5d0b9e60ff036fa6b3465bca /demos
parent8b80ff8b127c2ef5a52267bd778f44b2b2c20215 (diff)
downloadqt4-tools-53d1557f1ef4969bd5c8d68b82a0151ae03f004a.tar.gz
Have -small-screen enabled in certain examples on Symbian always.
Diffstat (limited to 'demos')
-rw-r--r--demos/deform/main.cpp4
-rw-r--r--demos/pathstroke/main.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/demos/deform/main.cpp b/demos/deform/main.cpp
index 70e4bec0b9..21ce7fb313 100644
--- a/demos/deform/main.cpp
+++ b/demos/deform/main.cpp
@@ -50,7 +50,11 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
+#ifdef Q_OS_SYMBIAN
+ bool smallScreen = true;
+#else
bool smallScreen = QApplication::arguments().contains("-small-screen");
+#endif
PathDeformWidget deformWidget(0, smallScreen);
diff --git a/demos/pathstroke/main.cpp b/demos/pathstroke/main.cpp
index 2e9153f93e..6d688c3fe8 100644
--- a/demos/pathstroke/main.cpp
+++ b/demos/pathstroke/main.cpp
@@ -48,7 +48,11 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
+#ifdef Q_OS_SYMBIAN
+ bool smallScreen = true;
+#else
bool smallScreen = QApplication::arguments().contains("-small-screen");
+#endif
PathStrokeWidget pathStrokeWidget(smallScreen);
QStyle *arthurStyle = new ArthurStyle();