summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-04-12 14:12:10 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-04-12 18:31:33 +0000
commitfeaaca456b1b9f5f6ba84f0aa3cb7e93dfb862cf (patch)
tree14b0874755ec604b855360b5c52946fd2d616200 /src/corelib
parentb727f11c2e4e8d4dd9dbd512f34ce7f95fd077fd (diff)
QLocale: do not test for Q_OS_MAC before including qglobal.h
Found by clazy. Change-Id: I66b6698c309720891db83626e18c5e1baca19091 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qlocale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index c183224c82..c23c84534f 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -38,13 +38,13 @@
**
****************************************************************************/
+#include "qglobal.h"
+
#if !defined(QWS) && defined(Q_OS_MAC)
# include "private/qcore_mac_p.h"
# include <CoreFoundation/CoreFoundation.h>
#endif
-#include "qglobal.h"
-
#include "qplatformdefs.h"
#include "qdatastream.h"