diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-20 09:21:58 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-05-20 10:06:33 (GMT) |
commit | d1d8df1076fe7884056798e1974a299ab9d7684e (patch) | |
tree | 46068ffeb8cd64f8d875f0cc4af1788dadda5fda /src/gui/styles/qproxystyle.cpp | |
parent | 7a1accc89c5c45ef514ebf0e7693cd9522fa0362 (diff) | |
download | Qt-d1d8df1076fe7884056798e1974a299ab9d7684e.zip Qt-d1d8df1076fe7884056798e1974a299ab9d7684e.tar.gz Qt-d1d8df1076fe7884056798e1974a299ab9d7684e.tar.bz2 |
Compile with gcc 4.0.1
qstylehelper_p.h now includes qstringbuilder.h
This triggers a gcc 4.0.1 bug when doing addition or % on annonymous enum
- include qstylehelper_p.h last to avoid errors in 3rd party header
- explicitly cast enums to int in qwindowsstyle.cpp
Reviewed-by: Thierry
Diffstat (limited to 'src/gui/styles/qproxystyle.cpp')
-rw-r--r-- | src/gui/styles/qproxystyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qproxystyle.cpp b/src/gui/styles/qproxystyle.cpp index 5235350..511c025 100644 --- a/src/gui/styles/qproxystyle.cpp +++ b/src/gui/styles/qproxystyle.cpp @@ -40,11 +40,11 @@ ****************************************************************************/ #include <qstyle.h> -#include <private/qstyle_p.h> #include <private/qproxystyle_p.h> #include <private/qapplication_p.h> #include "qproxystyle.h" #include "qstylefactory.h" +#include <private/qstyle_p.h> #if !defined(QT_NO_STYLE_PROXY) || defined(QT_PLUGIN) |