fix(browser): fix unused variable warnings

This commit is contained in:
Oleg Shparber 2020-04-26 21:42:37 -04:00
parent 15dd07deb7
commit ce27386e7a

View File

@ -63,6 +63,9 @@ WebPage::WebPage(QWebEngineProfile *profile, QObject *parent)
bool WebPage::acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame)
{
Q_UNUSED(type)
Q_UNUSED(isMainFrame)
if (Core::NetworkAccessManager::isLocalUrl(url)) {
return true;
}