diff --git a/plugins/windowsystem/windoweffects.cpp b/plugins/windowsystem/windoweffects.cpp index c06ca43bf1..2d18fe7758 100644 --- a/plugins/windowsystem/windoweffects.cpp +++ b/plugins/windowsystem/windoweffects.cpp @@ -144,9 +144,11 @@ void WindowEffects::enableBackgroundContrast(WId window, bool enable, qreal cont } } +#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 67) void WindowEffects::markAsDashboard(WId window) { Q_UNUSED(window) } +#endif } diff --git a/plugins/windowsystem/windoweffects.h b/plugins/windowsystem/windoweffects.h index 7acd3406c4..67ee567cd0 100644 --- a/plugins/windowsystem/windoweffects.h +++ b/plugins/windowsystem/windoweffects.h @@ -41,7 +41,9 @@ public: void highlightWindows(WId controller, const QList &ids) override; void enableBlurBehind(WId window, bool enable = true, const QRegion ®ion = QRegion()) override; void enableBackgroundContrast(WId window, bool enable = true, qreal contrast = 1, qreal intensity = 1, qreal saturation = 1, const QRegion ®ion = QRegion()) override; +#if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 67) void markAsDashboard(WId window) override; +#endif }; }