From c02ad51733d0a2885ddb39cb7e3b09355ab97213 Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Wed, 18 Aug 2010 12:51:00 +0200 Subject: Work around compile error with g++ for Windows --- src/gui/kernel/qapplication_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12