Add missing override keyword
This commit is contained in:
parent
8b3a6c3eb0
commit
5bb8be96ee
2 changed files with 2 additions and 2 deletions
|
@ -2240,7 +2240,7 @@ public:
|
|||
}
|
||||
return true;
|
||||
}
|
||||
bool keyEvent(QKeyEvent *event)
|
||||
bool keyEvent(QKeyEvent *event) override
|
||||
{
|
||||
if (event->key() != Qt::Key_Escape) {
|
||||
return false;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue