summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/qwinrtcameracontrol.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/qwinrtcameracontrol.cpp
parent00789e7d4ebbf4adb40a7722db43a03bcf5c3b4d (diff)
downloadqtmultimedia-f93f4e3daab1f9cbebbf663f1119a080cb299b9f.tar.gz
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/qwinrtcameracontrol.cpp')
-rw-r--r--src/plugins/winrt/qwinrtcameracontrol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/winrt/qwinrtcameracontrol.cpp b/src/plugins/winrt/qwinrtcameracontrol.cpp
index 2f71674fe..12f4fb459 100644
--- a/src/plugins/winrt/qwinrtcameracontrol.cpp
+++ b/src/plugins/winrt/qwinrtcameracontrol.cpp
@@ -67,7 +67,7 @@ using namespace ABI::Windows::Media::Devices;
using namespace ABI::Windows::Media::MediaProperties;
using namespace ABI::Windows::Storage::Streams;
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE
#define RETURN_VOID_AND_EMIT_ERROR(msg) \
if (FAILED(hr)) { \
@@ -833,3 +833,5 @@ HRESULT QWinRTCameraControl::onRecordLimitationExceeded(IMediaCapture *)
setState(QCamera::LoadedState);
return S_OK;
}
+
+QT_END_NAMESPACE