Skip to content

Commit a58fe07

Browse files
committed
qt: mark eventFilter as 'override' to match virtual func
Should take care of this: In file included from qt/moc_signverifymessagedialog.cpp:8: ./qt/signverifymessagedialog.h:36:10: warning: 'eventFilter' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool eventFilter(QObject *object, QEvent *event); ^ /Users/localhost/Projects/dash/depends/x86_64-apple-darwin18.7.0/include/QtWidgets/qdialog.h:111:10: note: overridden virtual function is here bool eventFilter(QObject *, QEvent *) override; ^
1 parent a8aee57 commit a58fe07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/signverifymessagedialog.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class SignVerifyMessageDialog : public QDialog
3333
void showTab_VM(bool fShow);
3434

3535
protected:
36-
bool eventFilter(QObject *object, QEvent *event);
36+
bool eventFilter(QObject *object, QEvent *event) override;
3737

3838
private:
3939
Ui::SignVerifyMessageDialog *ui;

0 commit comments

Comments
 (0)