projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12de7f8
)
view->showFullScreen moved by mistake to QT5 specific block
author
Mohammed Sameer
<msameer@foolab.org>
Wed, 31 Jul 2013 18:15:05 +0000
(21:15 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Wed, 31 Jul 2013 18:15:05 +0000
(21:15 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
0fc23bd
..
abfad89
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-137,7
+137,6
@@
Q_DECL_EXPORT int main(int argc, char *argv[]) {
view->setSource(QUrl("qrc:/qml/main.qml"));
#if defined(QT5)
- view->showFullScreen();
if (view->status() == QQuickView::Error) {
qCritical() << "Errors loading QML:";
QList<QQmlError> errors = view->errors();
@@
-151,9
+150,10
@@
Q_DECL_EXPORT int main(int argc, char *argv[]) {
return 1;
}
-
#endif
+ view->showFullScreen();
+
int ret = app->exec();
delete view;