summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-03-08 09:20:56 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-03-08 09:26:01 (GMT)
commitde20e4df5f6a212115d10c225f945ab1610319ba (patch)
tree8581601d02e835146a749f70670986c4ff8c607c
parentaf68298d5470aca109e115c7a86dc88f8821e97d (diff)
downloadQt-de20e4df5f6a212115d10c225f945ab1610319ba.zip
Qt-de20e4df5f6a212115d10c225f945ab1610319ba.tar.gz
Qt-de20e4df5f6a212115d10c225f945ab1610319ba.tar.bz2
Mac: compile fix
Needed to move the inclusion of qstringbuilder.h after any system headers has been included. Otherwise, strange compile errors occur. Reviewed-by: msorvig
-rw-r--r--src/gui/styles/qstylehelper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/styles/qstylehelper.cpp b/src/gui/styles/qstylehelper.cpp
index 359e7e1..296c51c 100644
--- a/src/gui/styles/qstylehelper.cpp
+++ b/src/gui/styles/qstylehelper.cpp
@@ -44,7 +44,6 @@
#include <qstyleoption.h>
#include <qpainter.h>
#include <qpixmapcache.h>
-#include <qstringbuilder.h>
#include <private/qmath_p.h>
#include <private/qstyle_p.h>
#include <qmath.h>
@@ -55,6 +54,8 @@
#include <private/qt_cocoa_helpers_mac_p.h>
#endif
+#include <qstringbuilder.h>
+
QT_BEGIN_NAMESPACE
// internal helper. Converts an integer value to an unique string token