summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-06-10 14:40:30 +0200
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2016-06-10 12:42:02 +0000
commit83b3ef2c76c7f8d0feee83c25b065913e35072f2 (patch)
treef387c59b5284f0a1aec939347554f9f467d86189 /src/plugins
parent439847b4f2ed31386d98802398fa7e8ad0ebf54e (diff)
downloadqtlocation-83b3ef2c76c7f8d0feee83c25b065913e35072f2.tar.gz
Fix namespaced build of Qt
Change-Id: I38dda74ec97a0172c1127d7c1758d100aeb849d1 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp b/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp
index 245d855e..bc3ce6e7 100644
--- a/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp
+++ b/src/plugins/position/winrt/qgeopositioninfosource_winrt.cpp
@@ -62,10 +62,10 @@ typedef IAsyncOperationCompletedHandler<Geoposition*> PositionHandler;
typedef IAsyncOperationCompletedHandler<GeolocationAccessStatus> AccessHandler;
#endif
-QT_BEGIN_NAMESPACE
-
Q_DECLARE_METATYPE(QGeoPositionInfo)
+QT_BEGIN_NAMESPACE
+
#ifndef Q_OS_WINRT
namespace QEventDispatcherWinRT {
HRESULT runOnXamlThread(const std::function<HRESULT ()> &delegate, bool waitForRun = true)