[effects/slidingpopups] Delete unused prePaintScreen method

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14091
This commit is contained in:
Vlad Zagorodniy 2018-07-13 11:01:29 +03:00
parent 2b657feb29
commit 2d1afb809c
2 changed files with 1 additions and 6 deletions

View file

@ -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) void SlidingPopupsEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& data, int time)
{ {
const std::chrono::milliseconds delta(time); const std::chrono::milliseconds delta(time);

View file

@ -36,7 +36,7 @@ class SlidingPopupsEffect
public: public:
SlidingPopupsEffect(); SlidingPopupsEffect();
~SlidingPopupsEffect(); ~SlidingPopupsEffect();
virtual void prePaintScreen(ScreenPrePaintData& data, int time);
virtual void prePaintWindow(EffectWindow* w, WindowPrePaintData& 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 paintWindow(EffectWindow* w, int mask, QRegion region, WindowPaintData& data);
virtual void postPaintWindow(EffectWindow* w); virtual void postPaintWindow(EffectWindow* w);