summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-08-13 10:59:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-20 11:56:41 +0200
commit3db365e3da5c288081e3e4fc88ae3145a9513335 (patch)
treede1ae7d26e36b637ef701dc34918f01abc2a89f6 /tools
parent504ba059df18c524fa8199084791f3b792b2104e (diff)
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: I6384d32f125fe7800c57e387f48930a1e71fbe08 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qml/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp
index 0c838d57..1ac52f08 100644
--- a/tools/qml/main.cpp
+++ b/tools/qml/main.cpp
@@ -429,7 +429,7 @@ static void parseCommandLineOptions(const QStringList &arguments)
static QDeclarativeViewer *createViewer()
{
- Qt::WFlags wflags = (opts.frameless ? Qt::FramelessWindowHint : Qt::Widget);
+ Qt::WindowFlags wflags = (opts.frameless ? Qt::FramelessWindowHint : Qt::Widget);
if (opts.stayOnTop)
wflags |= Qt::WindowStaysOnTopHint;