From 79e1c9d56415708cc30f6eae0ce754b54cc74393 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 31 Jul 2017 10:10:33 +0200 Subject: [PATCH] Build fix? --- src/network-web/webfactory.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network-web/webfactory.cpp b/src/network-web/webfactory.cpp index dd2d6f618..cf7c13c5d 100755 --- a/src/network-web/webfactory.cpp +++ b/src/network-web/webfactory.cpp @@ -185,7 +185,10 @@ void WebFactory::createMenu(QMenu* menu) { actions << createEngineSettingsAction(tr("Accelerate 2D canvas"), QWebEngineSettings::Accelerated2dCanvasEnabled); actions << createEngineSettingsAction(tr("Print element backgrounds"), QWebEngineSettings::PrintElementBackgrounds); actions << createEngineSettingsAction(tr("Allow running insecure content"), QWebEngineSettings::AllowRunningInsecureContent); + +#if !defined(Q_OS_LINUX) actions << createEngineSettingsAction(tr("Allow geolocation on insecure origins"), QWebEngineSettings::AllowGeolocationOnInsecureOrigins); +#endif menu->addActions(actions); }