summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-11-07 14:31:48 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2014-11-07 15:26:45 +0100
commitd2d5baeb8c3b10579f7f144e918b2935af66bec5 (patch)
tree5dd9eea0282c70001ed8fd1a00fe718d5c44004e /examples
parent32f75b83d591d1940a4427eb1a6fd8353406733e (diff)
Fix enum names of audio/video features
The feature enum names and documentation gave the impression it could control audio and video output, while they only control input. Also removed documentation of non connected feature permissions for Notifications and GeoLocation. Change-Id: Ia35142ca691ebd6059b7472e9803fda8cbd84813 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/browser/featurepermissionbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/webenginewidgets/browser/featurepermissionbar.cpp b/examples/webenginewidgets/browser/featurepermissionbar.cpp
index 2cc9907bd..98f19ad1f 100644
--- a/examples/webenginewidgets/browser/featurepermissionbar.cpp
+++ b/examples/webenginewidgets/browser/featurepermissionbar.cpp
@@ -56,11 +56,11 @@ static QString textForPermissionType(QWebEnginePage::Feature type)
return QObject::tr("desktop notifications");
case QWebEnginePage::Geolocation:
return QObject::tr("your position");
- case QWebEnginePage::MediaAudioDevices:
+ case QWebEnginePage::MediaAudioCapture:
return QObject::tr("your microphone");
- case QWebEnginePage::MediaVideoDevices:
+ case QWebEnginePage::MediaVideoCapture:
return QObject::tr("your camera");
- case QWebEnginePage::MediaAudioVideoDevices:
+ case QWebEnginePage::MediaAudioVideoCapture:
return QObject::tr("your camera and microphone");
default:
Q_UNREACHABLE();