summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/webenginewidgets/api/qwebenginepage.h2
-rw-r--r--src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/webenginewidgets/api/qwebenginepage.h b/src/webenginewidgets/api/qwebenginepage.h
index afc96c996..a194df831 100644
--- a/src/webenginewidgets/api/qwebenginepage.h
+++ b/src/webenginewidgets/api/qwebenginepage.h
@@ -150,8 +150,8 @@ public:
enum Feature {
#ifndef Q_QDOC
Notifications = 0,
- Geolocation = 1,
#endif
+ Geolocation = 1,
MediaAudioCapture = 2,
MediaVideoCapture,
MediaAudioVideoCapture,
diff --git a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
index af435d170..e23fc6f7c 100644
--- a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
@@ -166,6 +166,7 @@
This enum describes the platform feature access categories that the user may be asked to grant or deny access to.
+ \value Geolocation Access to location hardware or service
\value MediaAudioCapture Audio capture devices such a microphones
\value MediaVideoCapture Video devices, e.g. cameras
\value MediaAudioVideoCapture Both Audio and Video capture devices.