diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-06-07 16:08:38 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-06-07 16:08:38 (GMT) |
commit | c6a8f35846df86a87591372d022e54a701591f5b (patch) | |
tree | 471f5eb02ccee400c2587e8b3fae55b922d848d1 /examples/draganddrop | |
parent | d4c00ffb6f01a991118388957de831394c8ad9c1 (diff) | |
parent | 1dd89b6ad0546f247486b63f72035baf21475b51 (diff) | |
download | Qt-c6a8f35846df86a87591372d022e54a701591f5b.zip Qt-c6a8f35846df86a87591372d022e54a701591f5b.tar.gz Qt-c6a8f35846df86a87591372d022e54a701591f5b.tar.bz2 |
Merge branch 4.7 into qt-4.8-from-4.7
Diffstat (limited to 'examples/draganddrop')
-rw-r--r-- | examples/draganddrop/fridgemagnets/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/draganddrop/fridgemagnets/main.cpp b/examples/draganddrop/fridgemagnets/main.cpp index 1166abb..e87ef5b 100644 --- a/examples/draganddrop/fridgemagnets/main.cpp +++ b/examples/draganddrop/fridgemagnets/main.cpp @@ -51,7 +51,12 @@ int main(int argc, char *argv[]) #endif DragWidget window; +#ifdef Q_OS_SYMBIAN + bool smallScreen = true; +#else bool smallScreen = QApplication::arguments().contains("-small-screen"); +#endif + if (smallScreen) window.showFullScreen(); else |