aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Zagorodniy <[email protected]>2018-10-17 00:48:02 +0300
committerVlad Zagorodniy <[email protected]>2018-10-17 02:39:53 +0300
commitd014f2ab74dfbe9ac9010c12b93df9e739c23da2 (patch)
tree48355830be8ea4de471a09b4cb9394844c0df099
parentfe4d69b653c67556ba1bc496428d981fdc003f4f (diff)
[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
-rw-r--r--effects/screenshot/screenshot.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/effects/screenshot/screenshot.h b/effects/screenshot/screenshot.h
index 7a9458a..b2b0fc2 100644
--- a/effects/screenshot/screenshot.h
+++ b/effects/screenshot/screenshot.h
@@ -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;