summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/qwinrtcursor.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-05-12 11:58:08 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-05-16 19:41:13 +0000
commit298a60d958c6dbebc3c3d863f375884c071209c0 (patch)
tree39283c0ce73ced73f5ead3d717949f345edc075d /src/plugins/platforms/winrt/qwinrtcursor.cpp
parenta2c4e68141b4b80d317f5295aa687b5cb4f1dd9c (diff)
WinRT: fix namespaced build
Change-Id: I0505523a5524995e374dc8f005f101d0cea8b01e Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtcursor.cpp')
-rw-r--r--src/plugins/platforms/winrt/qwinrtcursor.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtcursor.cpp b/src/plugins/platforms/winrt/qwinrtcursor.cpp
index 1adb2bb89f..e86590c260 100644
--- a/src/plugins/platforms/winrt/qwinrtcursor.cpp
+++ b/src/plugins/platforms/winrt/qwinrtcursor.cpp
@@ -46,7 +46,7 @@ using namespace Microsoft::WRL::Wrappers;
using namespace ABI::Windows::UI::Core;
using namespace ABI::Windows::Foundation;
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE
class QWinRTCursorPrivate
{
@@ -155,3 +155,6 @@ QPoint QWinRTCursor::pos() const
coreWindow->get_PointerPosition(&point);
return QPoint(point.X, point.Y);
}
+
+QT_END_NAMESPACE
+