diff options
| author | 2023-12-25 12:58:52 -0800 | |
|---|---|---|
| committer | 2023-12-25 21:58:52 +0100 | |
| commit | 1d9c0b5e03e2436276395a6858fc52e46605c44e (patch) | |
| tree | ea5d60dd0dfaa0e9d6c3470a9e7400227d842716 /src/modules/notifier/NotifierWindow.cpp | |
| parent | Remove raw event when it has no handlers. fix #2427 (#2583) (diff) | |
| download | KVIrc-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.cpp | 6 |
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() { |
