diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-08-13 10:54:27 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-13 18:41:41 +0200 |
commit | 0123e47e1507000fc13027c575608879e13fe2ba (patch) | |
tree | 83769fdb59d24e7db2dd95ba02acfe6ca5987cc3 /examples | |
parent | 9009ce67fb2b77a3801f1d44cc82b50b009abc91 (diff) | |
download | qttools-0123e47e1507000fc13027c575608879e13fe2ba.tar.gz |
Use Qt::WindowFlags, not Qt::WFlags.
The latter seems to date from the Qt 1 days, and such abbreviations
are not current Qt style.
Change-Id: I2208e3d0db14220398d9b0249ab6f07c9859ba14
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/help/remotecontrol/remotecontrol.cpp | 2 | ||||
-rw-r--r-- | examples/help/remotecontrol/remotecontrol.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/help/remotecontrol/remotecontrol.cpp b/examples/help/remotecontrol/remotecontrol.cpp index 0fb542c5a..584003e58 100644 --- a/examples/help/remotecontrol/remotecontrol.cpp +++ b/examples/help/remotecontrol/remotecontrol.cpp @@ -47,7 +47,7 @@ #include "remotecontrol.h" -RemoteControl::RemoteControl(QWidget *parent, Qt::WFlags flags) +RemoteControl::RemoteControl(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, flags) { ui.setupUi(this); diff --git a/examples/help/remotecontrol/remotecontrol.h b/examples/help/remotecontrol/remotecontrol.h index 973340c66..f4ea463e2 100644 --- a/examples/help/remotecontrol/remotecontrol.h +++ b/examples/help/remotecontrol/remotecontrol.h @@ -53,7 +53,7 @@ class RemoteControl : public QMainWindow Q_OBJECT public: - RemoteControl(QWidget *parent = 0, Qt::WFlags flags = 0); + RemoteControl(QWidget *parent = 0, Qt::WindowFlags flags = 0); ~RemoteControl(); private: |