aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-03-14 08:49:59 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-08 10:36:58 +0300
commit1551cea2d52cac403ff506a7cc955d8de8fd6f3e (patch)
tree63665a4ab090e2b3c3c27a0a359b71ad492f6c50 /src/qt/guiutil.h
parentf54753293fe7355e4280944d766f22054b560ba1 (diff)
refactor: Use override for non-final overriders
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index 0d9293fbad..8b9fca4fb1 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -145,7 +145,7 @@ namespace GUIUtil
explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = nullptr);
protected:
- bool eventFilter(QObject *obj, QEvent *evt);
+ bool eventFilter(QObject *obj, QEvent *evt) override;
private:
int size_threshold;
@@ -227,7 +227,7 @@ namespace GUIUtil
*/
void clicked(const QPoint& point);
protected:
- void mouseReleaseEvent(QMouseEvent *event);
+ void mouseReleaseEvent(QMouseEvent *event) override;
};
class ClickableProgressBar : public QProgressBar
@@ -240,7 +240,7 @@ namespace GUIUtil
*/
void clicked(const QPoint& point);
protected:
- void mouseReleaseEvent(QMouseEvent *event);
+ void mouseReleaseEvent(QMouseEvent *event) override;
};
typedef ClickableProgressBar ProgressBar;
@@ -255,7 +255,7 @@ namespace GUIUtil
void keyEscapePressed();
private:
- bool eventFilter(QObject *object, QEvent *event);
+ bool eventFilter(QObject *object, QEvent *event) override;
};
// Fix known bugs in QProgressDialog class.