summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qproxystyle.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-05-20 09:21:58 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-05-20 10:06:33 (GMT)
commitd1d8df1076fe7884056798e1974a299ab9d7684e (patch)
tree46068ffeb8cd64f8d875f0cc4af1788dadda5fda /src/gui/styles/qproxystyle.cpp
parent7a1accc89c5c45ef514ebf0e7693cd9522fa0362 (diff)
downloadQt-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.cpp2
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)