diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-18 10:51:00 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-18 10:51:00 (GMT) |
commit | c02ad51733d0a2885ddb39cb7e3b09355ab97213 (patch) | |
tree | dbbfbc76d62d400f3a5f43df47256de40b739361 /src/gui | |
parent | 9fb2afe3a31da4f08bdd5090a5b4aefd2035a46d (diff) | |
download | Qt-c02ad51733d0a2885ddb39cb7e3b09355ab97213.zip Qt-c02ad51733d0a2885ddb39cb7e3b09355ab97213.tar.gz Qt-c02ad51733d0a2885ddb39cb7e3b09355ab97213.tar.bz2 |
Work around compile error with g++ for Windows
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index 628a041..b4a3f50 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -951,7 +951,7 @@ Q_GLOBAL_STATIC(WinClassNameHash, winclassNames) // const QString qt_reg_winclass(QWidget *w) // register window class { - int flags = w ? w->windowFlags() : 0; + int flags = w ? int(w->windowFlags()) : 0; int type = flags & Qt::WindowType_Mask; uint style; |