summaryrefslogtreecommitdiffstats
path: root/examples/widgets/symbianvibration/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/symbianvibration/main.cpp')
-rw-r--r--examples/widgets/symbianvibration/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/widgets/symbianvibration/main.cpp b/examples/widgets/symbianvibration/main.cpp
new file mode 100644
index 0000000..015ed54
--- /dev/null
+++ b/examples/widgets/symbianvibration/main.cpp
@@ -0,0 +1,14 @@
+#include <QtGui/QApplication>
+#include "mainwindow.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ MainWindow w;
+#if defined(Q_WS_S60)
+ w.showMaximized();
+#else
+ w.show();
+#endif
+ return a.exec();
+}