aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/notifier/NotifierWindow.cpp
diff options
context:
space:
mode:
authorGravatar Aleksei Bavshin2023-12-25 12:58:52 -0800
committerGravatar GitHub2023-12-25 21:58:52 +0100
commit1d9c0b5e03e2436276395a6858fc52e46605c44e (patch)
treeea5d60dd0dfaa0e9d6c3470a9e7400227d842716 /src/modules/notifier/NotifierWindow.cpp
parentRemove raw event when it has no handlers. fix #2427 (#2583) (diff)
downloadKVIrc-1d9c0b5e03e2436276395a6858fc52e46605c44e.tar.gz
KVIrc-1d9c0b5e03e2436276395a6858fc52e46605c44e.tar.bz2
KVIrc-1d9c0b5e03e2436276395a6858fc52e46605c44e.zip
Fix build with KDE Frameworks 6 (#2585)
* KF6: adapt to new KNotificationAction API Use correct versioned location for the notifyrc. * KF6: correct includes for KWindowInfo * KF6: add KF6::StatusNotifierItem component KStatusNotifierItem was split from KNotifications in KF6.
Diffstat (limited to 'src/modules/notifier/NotifierWindow.cpp')
-rw-r--r--src/modules/notifier/NotifierWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/notifier/NotifierWindow.cpp b/src/modules/notifier/NotifierWindow.cpp
index 18a978fee..2c478e0b0 100644
--- a/src/modules/notifier/NotifierWindow.cpp
+++ b/src/modules/notifier/NotifierWindow.cpp
@@ -224,9 +224,9 @@ void NotifierWindow::stopAutoHideTimer()
// FIXME: The code for detecting fullscreen window does NOT take into account multi-screen setups.
// We also lack the code for MacOSX and Qt-only-X11 compilation.
-#if COMPILE_KDE_SUPPORT
-#include <kwindowsystem.h>
-#include <kx11extras.h>
+#ifdef COMPILE_KDE_SUPPORT
+#include <KWindowInfo>
+#include <KX11Extras>
static bool active_window_is_full_screen()
{