From 665d8a045455214d2cfca72076da6bc75d3058c7 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Sat, 18 Jun 2011 16:39:32 +0200 Subject: Make QPoint have the same layout on all platforms Change-Id: I8330295761a4440afd81c121039237fb651d9a9c Reviewed-on: http://codereview.qt.nokia.com/487 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- src/corelib/tools/qpoint.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/tools') diff --git a/src/corelib/tools/qpoint.h b/src/corelib/tools/qpoint.h index c0cf2192c1..b394ece1a6 100644 --- a/src/corelib/tools/qpoint.h +++ b/src/corelib/tools/qpoint.h @@ -92,14 +92,8 @@ public: private: friend class QTransform; - // ### Qt 5; remove the ifdef and just have the same order on all platforms. -#if defined(Q_OS_MAC) - int yp; - int xp; -#else int xp; int yp; -#endif }; Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE); -- cgit v1.2.3