From 3a0cd457827d3e147409817fda996c43037dde8d Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Mon, 9 Sep 2019 19:09:38 +0200 Subject: [PATCH] Declared Q_UNUSED for as-of-now unused parameters. Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- src/gui/wizard/webview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/wizard/webview.cpp b/src/gui/wizard/webview.cpp index 8612e6e21..54ed6fcb7 100644 --- a/src/gui/wizard/webview.cpp +++ b/src/gui/wizard/webview.cpp @@ -175,6 +175,7 @@ WebEnginePage::WebEnginePage(QWebEngineProfile *profile, QObject* parent) : QWeb } QWebEnginePage * WebEnginePage::createWindow(QWebEnginePage::WebWindowType type) { + Q_UNUSED(type); ExternalWebEnginePage *view = new ExternalWebEnginePage(this->profile()); return view; } @@ -216,6 +217,8 @@ ExternalWebEnginePage::ExternalWebEnginePage(QWebEngineProfile *profile, QObject bool ExternalWebEnginePage::acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) { + Q_UNUSED(type); + Q_UNUSED(isMainFrame); QDesktopServices::openUrl(url); return false; }