summaryrefslogtreecommitdiffstats
path: root/src/plugins/winrt/qwinrtvideodeviceselectorcontrol.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/qwinrtvideodeviceselectorcontrol.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/qwinrtvideodeviceselectorcontrol.cpp')
-rw-r--r--src/plugins/winrt/qwinrtvideodeviceselectorcontrol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/winrt/qwinrtvideodeviceselectorcontrol.cpp b/src/plugins/winrt/qwinrtvideodeviceselectorcontrol.cpp
index 582a9fc6d..8e806dcbf 100644
--- a/src/plugins/winrt/qwinrtvideodeviceselectorcontrol.cpp
+++ b/src/plugins/winrt/qwinrtvideodeviceselectorcontrol.cpp
@@ -55,7 +55,7 @@ typedef ITypedEventHandler<DeviceWatcher *, DeviceInformation *> DeviceInformati
typedef ITypedEventHandler<DeviceWatcher *, DeviceInformationUpdate *> DeviceInformationUpdateHandler;
typedef ITypedEventHandler<DeviceWatcher *, IInspectable *> DeviceEnumerationCompletedHandler;
-QT_USE_NAMESPACE
+QT_BEGIN_NAMESPACE
static QString deviceName(IDeviceInformation *device)
{
@@ -386,3 +386,5 @@ void QWinRTVideoDeviceSelectorControl::setSelectedDevice(int index)
emit selectedDeviceChanged(deviceName(d->selectedDevice));
}
}
+
+QT_END_NAMESPACE