summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qstylehelper.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/qstylehelper.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/qstylehelper.cpp')
-rw-r--r--src/gui/styles/qstylehelper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/styles/qstylehelper.cpp b/src/gui/styles/qstylehelper.cpp
index d09d7fa..ccdbf8c 100644
--- a/src/gui/styles/qstylehelper.cpp
+++ b/src/gui/styles/qstylehelper.cpp
@@ -39,8 +39,6 @@
**
****************************************************************************/
-#include "qstylehelper_p.h"
-
#include <qstyleoption.h>
#include <qpainter.h>
#include <qpixmapcache.h>
@@ -54,6 +52,7 @@
#include <private/qt_cocoa_helpers_mac_p.h>
#endif
+#include "qstylehelper_p.h"
#include <qstringbuilder.h>
QT_BEGIN_NAMESPACE