incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [6/26] qt commit: Fixing CB-277 (fullscreen display) on Simulator as well as on Symbian OS
Date Fri, 24 Feb 2012 20:52:11 GMT
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 <wkoller@virasnotebook.at.home>
Authored: Fri Feb 24 09:13:25 2012 +0100
Committer: Wolfgang Koller <wkoller@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;


Mime
View raw message