summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-06-08 02:08:38 +1000
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-08 02:08:38 +1000
commitc6a8f35846df86a87591372d022e54a701591f5b (patch)
tree471f5eb02ccee400c2587e8b3fae55b922d848d1 /demos
parentd4c00ffb6f01a991118388957de831394c8ad9c1 (diff)
parent1dd89b6ad0546f247486b63f72035baf21475b51 (diff)
downloadqt4-tools-c6a8f35846df86a87591372d022e54a701591f5b.tar.gz
Merge branch 4.7 into qt-4.8-from-4.7
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 c49117a2f2..d92ddba186 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 b357f99336..ca201d356c 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();