summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 17:57:41 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 19:29:06 (GMT)
commit51e5589e71801f99defc5143df6999adf05e017a (patch)
tree6c05719e4dce440d5ccdcff7b1df43f44e23be41
parent26251d91a493a46eca9f11fdfca940d39575b8fd (diff)
Phonon fix, good bye klocalsocket
-rw-r--r--CMakeLists.txt4
-rw-r--r--core/fileprinter.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 474295c..bd50672 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,7 @@ set_package_properties("LibKScreen" PROPERTIES
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
-include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PHONON_INCLUDES})
message("TODO: when core compiles add subdirs")
#add_subdirectory( active )
@@ -260,7 +260,7 @@ qt4_add_dbus_interfaces(okularpart_SRCS ${KDE4_DBUS_INTERFACES_DIR}/org.kde.KSpe
kde4_add_plugin(okularpart SHARED ${okularpart_SRCS})
-target_link_libraries(okularpart okularcore KF5::Parts ${MATH_LIB} ${QIMAGEBLITZ_LIBRARIES} KF5::Phonon KF5::Solid)
+target_link_libraries(okularpart okularcore KF5::Parts ${MATH_LIB} KF5::Phonon KF5::Solid)
install(TARGETS okularpart DESTINATION ${PLUGIN_INSTALL_DIR})
diff --git a/core/fileprinter.cpp b/core/fileprinter.cpp
index 456f9ac..08e05bd 100644
--- a/core/fileprinter.cpp
+++ b/core/fileprinter.cpp
@@ -24,7 +24,6 @@
#include <KProcess>
#include <KShell>
-#include <klocalsocket.h>
#include <kstandarddirs.h>
#include <ktempdir.h>
#include <kdebug.h>