aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-06-17 13:25:57 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-06-17 13:25:57 +0000
commit66fdb7a1576acf0ac547c32601e4adbd925b3d71 (patch)
treecadf8a4566842d6df5760f7c64d91b085ef25b0d
parenta9a504beef770e2efc514d768712c37bf9e5fb1c (diff)
downloadqmmp-66fdb7a1576acf0ac547c32601e4adbd925b3d71.tar.gz
qmmp-66fdb7a1576acf0ac547c32601e4adbd925b3d71.tar.bz2
qmmp-66fdb7a1576acf0ac547c32601e4adbd925b3d71.zip
removed unneeded includes (Matteo Cypriani, fixes #963)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8041 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/plugins/General/hotkey/CMakeLists.txt1
-rw-r--r--src/plugins/General/hotkey/hotkeymanager_win.cpp3
-rw-r--r--src/plugins/General/hotkey/hotkeymanager_x11.cpp2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/General/hotkey/CMakeLists.txt b/src/plugins/General/hotkey/CMakeLists.txt
index ca8188a31..458ec9d63 100644
--- a/src/plugins/General/hotkey/CMakeLists.txt
+++ b/src/plugins/General/hotkey/CMakeLists.txt
@@ -47,7 +47,6 @@ QT5_WRAP_UI(libhotkey_UIS_H ${libhotkey_UIS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
IF(X11_FOUND)
-set_property(SOURCE hotkeymanager_x11.cpp PROPERTY SKIP_AUTOMOC ON)
ADD_LIBRARY(hotkey MODULE ${libhotkey_SRCS} ${libhotkey_UIS_H} ${libhotkey_RCC_SRCS})
add_dependencies(hotkey qmmpui)
target_link_libraries(hotkey Qt5::Widgets Qt5::X11Extras -lqmmpui -lqmmp ${X11_LDFLAGS})
diff --git a/src/plugins/General/hotkey/hotkeymanager_win.cpp b/src/plugins/General/hotkey/hotkeymanager_win.cpp
index 44fdb6cb6..498230754 100644
--- a/src/plugins/General/hotkey/hotkeymanager_win.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager_win.cpp
@@ -298,7 +298,4 @@ quint32 HotkeyManager::keycodeToKeysym(quint32 keycode)
return MapVirtualKey(keycode, 1);
}
-#include "moc_hotkeymanager.cpp"
-
#endif
-
diff --git a/src/plugins/General/hotkey/hotkeymanager_x11.cpp b/src/plugins/General/hotkey/hotkeymanager_x11.cpp
index 2ac7f3a1a..4fe859674 100644
--- a/src/plugins/General/hotkey/hotkeymanager_x11.cpp
+++ b/src/plugins/General/hotkey/hotkeymanager_x11.cpp
@@ -322,6 +322,4 @@ quint32 HotkeyManager::keycodeToKeysym(quint32 keycode)
#endif
}
-#include "moc_hotkeymanager.cpp"
-
#endif