Fixed warning.

This commit is contained in:
Martin Rotter 2016-06-21 19:46:15 +02:00
parent 40d6f2d70a
commit df198a38a4

View File

@ -122,6 +122,8 @@ void WebViewer::clear() {
} }
QWebEngineView *WebViewer::createWindow(QWebEnginePage::WebWindowType type) { QWebEngineView *WebViewer::createWindow(QWebEnginePage::WebWindowType type) {
Q_UNUSED(type)
return qApp->mainForm()->tabWidget()->widget(qApp->mainForm()->tabWidget()->addBrowser(false, false))->webBrowser()->viewer(); return qApp->mainForm()->tabWidget()->widget(qApp->mainForm()->tabWidget()->addBrowser(false, false))->webBrowser()->viewer();
} }