summaryrefslogtreecommitdiffstats
path: root/src/serialport/qserialport_win_p.h
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-12 12:41:00 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-12 14:19:05 +0100
commita7c5bd6b585763b8084637b116470ba8472f8796 (patch)
treed048990dd9daa7fca7dbe79cba0ead08411bc563 /src/serialport/qserialport_win_p.h
parent1a67cf6ef5d207b6d16495e5778887b95992df56 (diff)
Fix the broken Windows namespace build
The namespace should begin *after* the Qt includes not to cause issues in those. Change-Id: If725818e7e82591205ff5c2eab1908fb4d850d9b Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_win_p.h')
-rw-r--r--src/serialport/qserialport_win_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/serialport/qserialport_win_p.h b/src/serialport/qserialport_win_p.h
index 7f20a9de..b4acd9ea 100644
--- a/src/serialport/qserialport_win_p.h
+++ b/src/serialport/qserialport_win_p.h
@@ -47,14 +47,14 @@
#include <qt_windows.h>
-QT_BEGIN_NAMESPACE
-
#ifndef Q_OS_WINCE
-class QWinEventNotifier;
#include <QtCore/qhash.h>
+QT_BEGIN_NAMESPACE
+class QWinEventNotifier;
#else
-class QThread;
#include <QtCore/qmutex.h>
+QT_BEGIN_NAMESPACE
+class QThread;
#endif
#ifndef Q_OS_WINCE