diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:14:24 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-20 15:14:24 +0200 |
commit | 88492823826b3720be4ba29d246848031418bfb5 (patch) | |
tree | 4f17cc7f4ef3f76f869a1d4fcb94722464aa9d0b /src/webengine/webpage.cpp | |
parent | Hostlist test: test non-empty domain (diff) | |
download | smolbote-88492823826b3720be4ba29d246848031418bfb5.tar.xz |
Add Kconfiglib to parse Kconfig/.config
Diffstat (limited to 'src/webengine/webpage.cpp')
-rw-r--r-- | src/webengine/webpage.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/webengine/webpage.cpp b/src/webengine/webpage.cpp index 1c5e659..0e1238a 100644 --- a/src/webengine/webpage.cpp +++ b/src/webengine/webpage.cpp @@ -91,33 +91,6 @@ bool WebPage::certificateError(const QWebEngineCertificateError &certificateErro return resp == QMessageBox::Ignore; } -#ifdef QTBUG_68224_WORKAROUND -bool WebPage::acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame) -{ - /* Workaround for https://bugreports.qt.io/browse/QTBUG-68224 - * Only affects 5.11.0; should be fixed in 5.11.1 - */ - - auto *layout = this->view()->layout(); - auto count = layout->count(); - - if(count > 1) { - for(int i = 0; i < count; ++i) { - auto *item = layout->itemAt(i); - if(item == nullptr) - continue; - auto *widget = item->widget(); - if(widget != this->view()->focusProxy()) { - //qDebug("Removing widget"); - layout->removeWidget(widget); - } - } - } - - return true; -} -#endif - void WebPage::featurePermissionDialog(const QUrl &securityOrigin, QWebEnginePage::Feature feature) { QMessageBox messageBox; |