diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-05-30 18:54:12 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-05-30 18:54:12 +0900 |
commit | d94ae428a28a6a1dcb4c8e87ac6dbf32eb440f02 (patch) | |
tree | 6b980ab08bd28e58c4177ff3ec4bfa43d8ee2116 /app/main.cpp | |
parent | a01dcdae19a645ccb2924d7c1003f4186696b48e (diff) |
change libhomscreen to qlibhomescreen
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 6 |
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 |