summaryrefslogtreecommitdiffstats
path: root/tests/manual/windowflags/previewwindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-17 15:33:46 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-20 14:19:47 +0000
commit3e5d5852ddc45201e721ec513fbc37745c98a78a (patch)
treeaeff854ef538944e0382fc20d849345a76cc48d6 /tests/manual/windowflags/previewwindow.h
parent8d1fc3ca4d3a27b1ed5d1b8de4023aad9b629f61 (diff)
windowflags: Update preview info when window state changes
Change-Id: I072939cdff0bd58779d9c163cb23e8176f3bc84a Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests/manual/windowflags/previewwindow.h')
-rw-r--r--tests/manual/windowflags/previewwindow.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/manual/windowflags/previewwindow.h b/tests/manual/windowflags/previewwindow.h
index acd79735ad..9730e7a3f9 100644
--- a/tests/manual/windowflags/previewwindow.h
+++ b/tests/manual/windowflags/previewwindow.h
@@ -48,8 +48,7 @@ public slots:
void updateInfo();
protected:
- void resizeEvent(QResizeEvent *);
- void moveEvent(QMoveEvent *);
+ bool event(QEvent *) override;
private:
QPlainTextEdit *textEdit;
@@ -68,8 +67,7 @@ public slots:
void updateInfo();
protected:
- void resizeEvent(QResizeEvent *);
- void moveEvent(QMoveEvent *);
+ bool event(QEvent *) override;
private:
QPlainTextEdit *textEdit;