aboutsummaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 05eaf31..81d8c5f 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -12,7 +12,7 @@
#include "dbus_client.h"
#include "file_operation.h"
-#ifdef HAVE_LIBHOMESCREEN
+#ifdef HAVE_QLIBHOMESCREEN
#include <qlibhomescreen.h>
#endif
#ifdef HAVE_QLIBWINDOWMANAGER
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
}
#endif
-#ifdef HAVE_LIBHOMESCREEN
+#ifdef HAVE_QLIBHOMESCREEN
// HomeScreen
QLibHomeScreen* qhs = new QLibHomeScreen();
std::string token = secret.toStdString();
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
QObject *root = engine.rootObjects().first();
QQuickWindow *window = qobject_cast<QQuickWindow *>(root);
-#ifdef HAVE_LIBHOMESCREEN
+#ifdef HAVE_QLIBHOMESCREEN
qhs->setQuickWindow(window);
#endif
//make the DBus connection info