From df198a38a4021d51bb4b4f6457fa0eced4e3e1ee Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 21 Jun 2016 19:46:15 +0200 Subject: [PATCH] Fixed warning. --- src/gui/webviewer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); }