Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
check ivi-layermanagement-api availability
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
main.cpp
diff --git
a/HomeScreen/src/main.cpp
b/HomeScreen/src/main.cpp
index
434cf6c
..
a896c2e
100644
(file)
--- a/
HomeScreen/src/main.cpp
+++ b/
HomeScreen/src/main.cpp
@@
-45,14
+45,12
@@
int main(int argc, char *argv[])
MainWindow w;
w.show();
-#ifdef
__arm__
+#ifdef
HAVE_IVI_LAYERMANAGEMENT_API
// the WindowManager positions the surface correctly
-#endif
-#ifdef __i386__
+#else
w.move(0, 0);
#endif
-
#ifdef __arm__
qDebug("Running on ARM architecture");
#endif