diff --git a/src/gui/webviewer.cpp b/src/gui/webviewer.cpp index dba71b758..8e9d572b7 100755 --- a/src/gui/webviewer.cpp +++ b/src/gui/webviewer.cpp @@ -122,6 +122,8 @@ void WebViewer::clear() { } QWebEngineView *WebViewer::createWindow(QWebEnginePage::WebWindowType type) { + Q_UNUSED(type) + return qApp->mainForm()->tabWidget()->widget(qApp->mainForm()->tabWidget()->addBrowser(false, false))->webBrowser()->viewer(); }