summaryrefslogtreecommitdiffstats
path: root/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-06-03 14:43:13 +0200
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2015-06-04 11:46:02 +0000
commitf93f4e3daab1f9cbebbf663f1119a080cb299b9f (patch)
tree8d22c82b92788c00c776abfea4cc8ff6c7b00a50 /src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
parent00789e7d4ebbf4adb40a7722db43a03bcf5c3b4d (diff)
WinRT: fix namespaced build
Change-Id: I06b18e2a1318bda826befde52ee1fd874e25dd47 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/plugins/winrt/qwinrtplayerrenderercontrol.cpp')
-rw-r--r--src/plugins/winrt/qwinrtplayerrenderercontrol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp b/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
index 5a8f4b87c..c37aac4e2 100644
--- a/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
+++ b/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
@@ -54,7 +54,7 @@
#include <wrl.h>
using namespace Microsoft::WRL;
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE
template <typename T>
class D3DDeviceLocker
@@ -149,3 +149,5 @@ bool QWinRTPlayerRendererControl::render(ID3D11Texture2D *texture)
RETURN_FALSE_IF_FAILED("Failed to transfer video frame to DXGI surface");
return true;
}
+
+QT_END_NAMESPACE