We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b752a commit 48289b9Copy full SHA for 48289b9
src/libs/browser/webview.cpp
@@ -37,6 +37,9 @@ WebView::WebView(QWidget *parent)
37
setPage(new WebPage(this));
38
setZoomLevel(defaultZoomLevel());
39
40
+ // Enable plugins for PDF support.
41
+ settings()->setAttribute(QWebEngineSettings::PluginsEnabled, true);
42
+
43
settings()->setAttribute(QWebEngineSettings::FocusOnNavigationEnabled, false);
44
45
QApplication::instance()->installEventFilter(this);
0 commit comments