[effects/screenshot] Use override keyword

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16261
This commit is contained in:
Vlad Zagorodniy 2018-10-17 00:48:02 +03:00
parent fe4d69b653
commit d014f2ab74

View file

@ -42,10 +42,11 @@ public:
INCLUDE_CURSOR = 1 << 1
};
ScreenShotEffect();
virtual ~ScreenShotEffect();
~ScreenShotEffect() override;
void paintScreen(int mask, QRegion region, ScreenPaintData &data) override;
virtual void postPaintScreen();
virtual bool isActive() const;
void postPaintScreen() override;
bool isActive() const override;
int requestedEffectChainPosition() const override {
return 50;