summaryrefslogtreecommitdiffstats
path: root/examples/widgets/desktop/systray/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/desktop/systray/window.h')
-rw-r--r--examples/widgets/desktop/systray/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/desktop/systray/window.h b/examples/widgets/desktop/systray/window.h
index c93228754b..24d0d3ae18 100644
--- a/examples/widgets/desktop/systray/window.h
+++ b/examples/widgets/desktop/systray/window.h
@@ -68,10 +68,10 @@ class Window : public QDialog
public:
Window();
- void setVisible(bool visible);
+ void setVisible(bool visible) Q_DECL_OVERRIDE;
protected:
- void closeEvent(QCloseEvent *event);
+ void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
private slots:
void setIcon(int index);