From 1f8758a3efb518a1cba5fd2b750705d58ca4058d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Wed, 12 Jun 2019 22:53:52 +0200 Subject: [PATCH] Reduce interfaces include dirs --- interfaces/CMakeLists.txt | 2 -- runners/findmyphone/findmyphonerunner.cpp | 2 -- runners/findmyphone/findmyphonerunner.h | 2 +- runners/remotecommands/remotecommandsrunner.cpp | 2 -- runners/remotecommands/remotecommandsrunner.h | 2 +- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt index 9d4749292..ed7ceb9bf 100644 --- a/interfaces/CMakeLists.txt +++ b/interfaces/CMakeLists.txt @@ -55,8 +55,6 @@ set_target_properties(kdeconnectinterfaces PROPERTIES generate_export_header(kdeconnectinterfaces EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}/kdeconnectinterfaces_export.h BASE_NAME KDEConnectInterfaces) -target_include_directories(kdeconnectinterfaces PUBLIC ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR}) - target_link_libraries(kdeconnectinterfaces LINK_PUBLIC Qt5::Gui diff --git a/runners/findmyphone/findmyphonerunner.cpp b/runners/findmyphone/findmyphonerunner.cpp index aac1674fb..f2488f2c5 100644 --- a/runners/findmyphone/findmyphonerunner.cpp +++ b/runners/findmyphone/findmyphonerunner.cpp @@ -23,8 +23,6 @@ #include #include -#include "interfaces/dbusinterfaces.h" - K_EXPORT_PLASMA_RUNNER(installer, FindMyPhoneRunner) FindMyPhoneRunner::FindMyPhoneRunner(QObject *parent, const QVariantList &args) diff --git a/runners/findmyphone/findmyphonerunner.h b/runners/findmyphone/findmyphonerunner.h index cb5d64b8c..36731c038 100644 --- a/runners/findmyphone/findmyphonerunner.h +++ b/runners/findmyphone/findmyphonerunner.h @@ -23,7 +23,7 @@ #include -#include "interfaces/dbusinterfaces.h" +#include "dbusinterfaces.h" class FindMyPhoneRunner : public Plasma::AbstractRunner { diff --git a/runners/remotecommands/remotecommandsrunner.cpp b/runners/remotecommands/remotecommandsrunner.cpp index cacdd79a3..86326c008 100644 --- a/runners/remotecommands/remotecommandsrunner.cpp +++ b/runners/remotecommands/remotecommandsrunner.cpp @@ -22,8 +22,6 @@ #include -#include "interfaces/dbusinterfaces.h" - K_EXPORT_PLASMA_RUNNER(installer, RemoteCommandsRunner) RemoteCommandsRunner::RemoteCommandsRunner(QObject *parent, const QVariantList &args) diff --git a/runners/remotecommands/remotecommandsrunner.h b/runners/remotecommands/remotecommandsrunner.h index de7430aa9..7f509a3f2 100644 --- a/runners/remotecommands/remotecommandsrunner.h +++ b/runners/remotecommands/remotecommandsrunner.h @@ -23,7 +23,7 @@ #include -#include "interfaces/dbusinterfaces.h" +#include "dbusinterfaces.h" class RemoteCommandsRunner : public Plasma::AbstractRunner {