diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index 932a13457..78bfb22f0 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -2,6 +2,10 @@ add_executable(kdeconnect-cli kdeconnect-cli.cpp) ecm_mark_nongui_executable(kdeconnect-cli) -target_link_libraries(kdeconnect-cli kdeconnectinterfaces KF5::CoreAddons KF5::I18n) +target_link_libraries(kdeconnect-cli + kdeconnectinterfaces + KF5::CoreAddons + KF5::I18n +) install(TARGETS kdeconnect-cli ${INSTALL_TARGETS_DEFAULT_ARGS}) diff --git a/core/daemon.h b/core/daemon.h index 5070619fe..8b3fab041 100644 --- a/core/daemon.h +++ b/core/daemon.h @@ -44,11 +44,6 @@ public: explicit Daemon(QObject *parent, bool testMode = false); ~Daemon() override; - /** - * Returns the daemon. - * - * Note this can't be called before constructing the Daemon. - */ static Daemon* instance(); QList devicesList() const;