From c0b35debe18d91156e25d95616ff862d2f2cc690 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 30 Jul 2020 00:41:31 +0200 Subject: [PATCH] Remove dead code We don't use sendreplydialog here any more --- plugins/sms/CMakeLists.txt | 9 +-------- plugins/sms/smsplugin.cpp | 1 - plugins/sms/smsplugin.h | 2 -- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/plugins/sms/CMakeLists.txt b/plugins/sms/CMakeLists.txt index 68cf67bff..09e4557a3 100644 --- a/plugins/sms/CMakeLists.txt +++ b/plugins/sms/CMakeLists.txt @@ -18,14 +18,7 @@ set(kdeconnect_sms_SRCS ${debug_file_SRCS} ) -include_directories(${CMAKE_BINARY_DIR}) - -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../notifications/) # needed for the sendreplydialog - -ki18n_wrap_ui(kdeconnect_sms_SRCS ../notifications/sendreplydialog.ui) - -kdeconnect_add_plugin(kdeconnect_sms JSON kdeconnect_sms.json SOURCES ../notifications/sendreplydialog.cpp ${kdeconnect_sms_SRCS}) - +kdeconnect_add_plugin(kdeconnect_sms JSON kdeconnect_sms.json SOURCES ${kdeconnect_sms_SRCS}) target_link_libraries(kdeconnect_sms kdeconnectcore diff --git a/plugins/sms/smsplugin.cpp b/plugins/sms/smsplugin.cpp index 113fc909f..b9e6ee94f 100644 --- a/plugins/sms/smsplugin.cpp +++ b/plugins/sms/smsplugin.cpp @@ -31,7 +31,6 @@ #include #include -#include "sendreplydialog.h" #include "plugin_sms_debug.h" K_PLUGIN_CLASS_WITH_JSON(SmsPlugin, "kdeconnect_sms.json") diff --git a/plugins/sms/smsplugin.h b/plugins/sms/smsplugin.h index 592460240..6e3f9271d 100644 --- a/plugins/sms/smsplugin.h +++ b/plugins/sms/smsplugin.h @@ -29,8 +29,6 @@ #include "conversationsdbusinterface.h" #include "interfaces/conversationmessage.h" -#include "sendreplydialog.h" - /** * Packet used to indicate a batch of messages has been pushed from the remote device *