summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authoralex <alex.blasche@nokia.com>2012-02-27 16:01:29 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-28 10:45:00 +0100
commit6d463e32c83755bac5a11a468b64bc98fd629e58 (patch)
tree990188f38563629ac08af7d57eb8cc2537f59a72 /examples
parent42fcc4d413424cecb7aa0be2b8cc2503b42fe408 (diff)
No more NFC on Symbian.
Change-Id: Id1355d5c7a56de3b031945f226d9c52897020c8b Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ndefeditor/ndefeditor.pro2
-rw-r--r--examples/poster/qmlposter.cpp6
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/ndefeditor/ndefeditor.pro b/examples/ndefeditor/ndefeditor.pro
index 8ed0d7e5..e5ddd963 100644
--- a/examples/ndefeditor/ndefeditor.pro
+++ b/examples/ndefeditor/ndefeditor.pro
@@ -24,5 +24,3 @@ FORMS += \
textrecordeditor.ui \
urirecordeditor.ui \
mimeimagerecordeditor.ui
-
-symbian:TARGET.CAPABILITY += LocalServices
diff --git a/examples/poster/qmlposter.cpp b/examples/poster/qmlposter.cpp
index 88807244..9f0904b7 100644
--- a/examples/poster/qmlposter.cpp
+++ b/examples/poster/qmlposter.cpp
@@ -52,11 +52,11 @@ 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_OS_SYMBIAN) || defined(Q_WS_MAEMO_6) || defined(Q_WS_SIMULATOR)
+#if defined(Q_WS_MAEMO_6) || defined(Q_WS_SIMULATOR)
view.showFullScreen();
-#else // Q_OS_SYMBIAN
+#else
view.setGeometry(QRect(100, 100, 640, 360));
view.show();
-#endif // Q_OS_SYMBIAN
+#endif
return application.exec();
}