diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-06-22 15:43:31 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-06-27 21:56:56 +0000 |
commit | 4ac47689fad1e7c0b169cb5959a12f9d53aee625 (patch) | |
tree | f72833c23693bf68c6c5f731823beb6814c07bff /tests/manual/windowflags/previewwindow.h | |
parent | f09f2f240f008151c560bfb9cfe5cfe3d7889ac4 (diff) |
windowflags: Allow testing of naked QWindows, not just QWidgets
Change-Id: Ia0eddcb385207ada8c3df59d49ff1de27a2aeb71
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/manual/windowflags/previewwindow.h')
-rw-r--r-- | tests/manual/windowflags/previewwindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/windowflags/previewwindow.h b/tests/manual/windowflags/previewwindow.h index 9730e7a3f9..023ddd910c 100644 --- a/tests/manual/windowflags/previewwindow.h +++ b/tests/manual/windowflags/previewwindow.h @@ -35,12 +35,12 @@ QT_BEGIN_NAMESPACE class QPlainTextEdit; QT_END_NAMESPACE -class PreviewWindow : public QWidget +class PreviewWidget : public QWidget { Q_OBJECT public: - PreviewWindow(QWidget *parent = 0); + PreviewWidget(QWidget *parent = 0); void setWindowFlags(Qt::WindowFlags flags); |