aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shared/shared.h
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2013-05-27 18:44:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-28 10:08:51 +0200
commit43484528552cb2ba3dc1dabfcce22ed40bf4f8db (patch)
tree5f7dce5c9131e04677e89367f20758a785cceb05 /examples/quick/shared/shared.h
parent1ef4e4b156be8653af64dbccb47abcccc234246a (diff)
Package dialogs examples into a single executable
Introduced tabs and added the C++ boilerplate launcher. Change-Id: Ibb49a182e3928aba5dced097d5307eb7d1f4b42d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Diffstat (limited to 'examples/quick/shared/shared.h')
-rw-r--r--examples/quick/shared/shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/shared/shared.h b/examples/quick/shared/shared.h
index eab15f3e0a..c59e858d47 100644
--- a/examples/quick/shared/shared.h
+++ b/examples/quick/shared/shared.h
@@ -47,9 +47,9 @@
QQuickView view;\
view.connect(view.engine(), SIGNAL(quit()), &app, SLOT(quit()));\
view.setSource(QUrl("qrc:///" #NAME ".qml")); \
+ view.setResizeMode(QQuickView::SizeRootObjectToView);\
if (QGuiApplication::platformName() == QLatin1String("qnx") || \
QGuiApplication::platformName() == QLatin1String("eglfs")) {\
- view.setResizeMode(QQuickView::SizeRootObjectToView);\
view.showFullScreen();\
} else {\
view.show();\