You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/02/24 21:52:11 UTC

[6/26] qt commit: Fixing CB-277 (fullscreen display) on Simulator as well as on Symbian OS

Fixing CB-277 (fullscreen display) on Simulator as well as on Symbian OS


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/commit/a182ef81
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/tree/a182ef81
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/diff/a182ef81

Branch: refs/heads/master
Commit: a182ef81a33aa87aa34db0db18b9dc25d26b0d45
Parents: fa2dcdc
Author: Wolfgang Koller <wk...@virasnotebook.at.home>
Authored: Fri Feb 24 09:13:25 2012 +0100
Committer: Wolfgang Koller <wk...@virasnotebook.at.home>
Committed: Fri Feb 24 09:13:25 2012 +0100

----------------------------------------------------------------------
 main.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-qt/blob/a182ef81/main.cpp
----------------------------------------------------------------------
diff --git a/main.cpp b/main.cpp
index 053abca..a43eb66 100644
--- a/main.cpp
+++ b/main.cpp
@@ -60,7 +60,11 @@ int main(int argc, char *argv[])
     view->showFullScreen();
 # else
     view->setSource(QUrl(QString("%1/qml/main.qml").arg(Cordova::instance()->workingDir())));
+#  if defined(Q_OS_SYMBIAN) || defined(QT_SIMULATOR)
+    view->showFullScreen();
+#  else
     view->show();
+#  endif
 # endif
 #else // QT_VERSION >= 0x050000
     QQuickView view;