Commit 0ca5a5f5 authored by con's avatar con
Browse files

Fixes: Build with webkit.

Reviewed-by: kh1
parent 6ac6be5d
......@@ -236,7 +236,7 @@ HelpViewer::HelpViewer(Help::Internal::CentralWidget *central, QWidget *parent)
settings()->setAttribute(QWebSettings::PluginsEnabled, false);
settings()->setAttribute(QWebSettings::JavaEnabled, false);
page()->setNetworkAccessManager(new HelpNetworkAccessManager(engine, this));
page()->setNetworkAccessManager(new HelpNetworkAccessManager(this));
QAction* action = pageAction(QWebPage::OpenLinkInNewWindow);
action->setText(tr("Open Link in New Tab"));
......@@ -117,7 +117,6 @@ private Q_SLOTS:
bool handleForwardBackwardMouseButtons(QMouseEvent *e);
QHelpEngine *helpEngine;
Help::Internal::CentralWidget* parentWidget;
QUrl homeUrl;
bool multiTabsAllowed;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment