Add missing override keyword

This commit is contained in:
Laurent Montel 2022-03-08 07:15:28 +01:00
parent 8b3a6c3eb0
commit 5bb8be96ee
2 changed files with 2 additions and 2 deletions

View file

@ -2240,7 +2240,7 @@ public:
}
return true;
}
bool keyEvent(QKeyEvent *event)
bool keyEvent(QKeyEvent *event) override
{
if (event->key() != Qt::Key_Escape) {
return false;

View file

@ -20,7 +20,7 @@ class KWIN_EXPORT QPainterSurfaceTexture : public SurfaceTexture
public:
explicit QPainterSurfaceTexture(QPainterBackend *backend);
bool isValid() const;
bool isValid() const override;
QPainterBackend *backend() const;
QImage image() const;