mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-22 21:53:03 +03:00
fix(browser): fix unused variable warnings
This commit is contained in:
parent
15dd07deb7
commit
ce27386e7a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user