aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreen/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'HomeScreen/src/main.cpp')
-rw-r--r--HomeScreen/src/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/HomeScreen/src/main.cpp b/HomeScreen/src/main.cpp
index 434cf6c..a896c2e 100644
--- 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