summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/qwinrtplayerrenderercontrol.cpp
diff options
context:
space:
mode:
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