From 2d1afb809cda14d333e69402f55c914651fee899 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Fri, 13 Jul 2018 11:01:29 +0300 Subject: [PATCH] [effects/slidingpopups] Delete unused prePaintScreen method Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14091 --- effects/slidingpopups/slidingpopups.cpp | 5 ----- effects/slidingpopups/slidingpopups.h | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp index 365a0e9e2c..2229fcb06f 100644 --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -91,11 +91,6 @@ void SlidingPopupsEffect::reconfigure(ReconfigureFlags flags) } } -void SlidingPopupsEffect::prePaintScreen(ScreenPrePaintData& data, int time) -{ - effects->prePaintScreen(data, time); -} - void SlidingPopupsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time) { const std::chrono::milliseconds delta(time); diff --git a/effects/slidingpopups/slidingpopups.h b/effects/slidingpopups/slidingpopups.h index c5dc005a08..f260cbe58d 100644 --- a/effects/slidingpopups/slidingpopups.h +++ b/effects/slidingpopups/slidingpopups.h @@ -36,7 +36,7 @@ class SlidingPopupsEffect public: SlidingPopupsEffect(); ~SlidingPopupsEffect(); - virtual void prePaintScreen(ScreenPrePaintData& data, int time); + virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time); virtual void paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data); virtual void postPaintWindow(EffectWindow* w);