summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-06-28 09:57:01 (GMT)
committercon <qtc-committer@nokia.com>2011-06-28 10:02:59 (GMT)
commit1a4bdffffc8f294e71cf9a9683e9030bd6e0644c (patch)
tree824aab7c3d1b867827ccf4a79c26bc38ce0068f4 /src/corelib/tools
parent604279b4dd0a01256f7a06fa3578a3c1dc225134 (diff)
downloadQt-1a4bdffffc8f294e71cf9a9683e9030bd6e0644c.zip
Qt-1a4bdffffc8f294e71cf9a9683e9030bd6e0644c.tar.gz
Qt-1a4bdffffc8f294e71cf9a9683e9030bd6e0644c.tar.bz2
Use the QPoint memory layout change only on Desktop Mac
Reviewed-by: gunnar
Diffstat (limited to 'src/corelib/tools')
-rw-r--r--src/corelib/tools/qpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qpoint.h b/src/corelib/tools/qpoint.h
index c0cf219..9f03606 100644
--- a/src/corelib/tools/qpoint.h
+++ b/src/corelib/tools/qpoint.h
@@ -93,7 +93,7 @@ public:
private:
friend class QTransform;
// ### Qt 5; remove the ifdef and just have the same order on all platforms.
-#if defined(Q_OS_MAC)
+#if defined(Q_OS_MAC) && !defined(QT_NO_CORESERVICES)
int yp;
int xp;
#else