diff options
Diffstat (limited to 'examples/nfc')
-rw-r--r-- | examples/nfc/annotatedurl/main.cpp | 4 | ||||
-rw-r--r-- | examples/nfc/ndefeditor/main.cpp | 4 | ||||
-rw-r--r-- | examples/nfc/poster/qmlposter.cpp | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/examples/nfc/annotatedurl/main.cpp b/examples/nfc/annotatedurl/main.cpp index 001cc399..c669e57b 100644 --- a/examples/nfc/annotatedurl/main.cpp +++ b/examples/nfc/annotatedurl/main.cpp @@ -70,11 +70,7 @@ int main(int argc, char *argv[]) QObject::connect(&annotatedUrl, SIGNAL(annotatedUrl(QUrl,QString,QPixmap)), &mainWindow, SLOT(displayAnnotatedUrl(QUrl,QString,QPixmap))); -#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_6) || defined(Q_WS_MEEGO) - mainWindow.showFullScreen(); -#else mainWindow.show(); -#endif return a.exec(); } diff --git a/examples/nfc/ndefeditor/main.cpp b/examples/nfc/ndefeditor/main.cpp index 85fd0791..05bc2bb1 100644 --- a/examples/nfc/ndefeditor/main.cpp +++ b/examples/nfc/ndefeditor/main.cpp @@ -46,11 +46,7 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); MainWindow w; -#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_6) || defined(Q_WS_MEEGO) - w.showFullScreen(); -#else w.show(); -#endif return a.exec(); } diff --git a/examples/nfc/poster/qmlposter.cpp b/examples/nfc/poster/qmlposter.cpp index 5da86b39..89f36956 100644 --- a/examples/nfc/poster/qmlposter.cpp +++ b/examples/nfc/poster/qmlposter.cpp @@ -52,11 +52,7 @@ int main(int argc, char *argv[]) // Qt.quit() called in embedded .qml by default only emits // quit() signal, so do this (optionally use Qt.exit()). QObject::connect(view.engine(), SIGNAL(quit()), qApp, SLOT(quit())); -#if defined(Q_WS_MAEMO_6) || defined(Q_WS_SIMULATOR) - view.showFullScreen(); -#else view.setGeometry(QRect(100, 100, 640, 360)); view.show(); -#endif return application.exec(); } |