summaryrefslogtreecommitdiffstats
path: root/src/slxbrowser.h
diff options
context:
space:
mode:
authorSimon Rettberg2020-10-27 13:21:50 +0100
committerSimon Rettberg2020-10-27 13:21:50 +0100
commitd86ac98e2e63c91393c71fb5dcbf8e79951c7930 (patch)
tree62cb01932a9a3c3eeedfd288d77f99a0d6669b5b /src/slxbrowser.h
parentAdd --maximized (diff)
downloadslxbrowser-d86ac98e2e63c91393c71fb5dcbf8e79951c7930.tar.gz
slxbrowser-d86ac98e2e63c91393c71fb5dcbf8e79951c7930.tar.xz
slxbrowser-d86ac98e2e63c91393c71fb5dcbf8e79951c7930.zip
Fix triggering "go back" on blocked URL
On more recenct Qt versions, you can get stuck at the error page for disallowed URLs. Make the code that detects this situation more agressive.
Diffstat (limited to 'src/slxbrowser.h')
-rw-r--r--src/slxbrowser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slxbrowser.h b/src/slxbrowser.h
index 1192b7c..ae1356c 100644
--- a/src/slxbrowser.h
+++ b/src/slxbrowser.h
@@ -37,6 +37,7 @@ private slots:
void sslErrors(QNetworkReply * reply, const QList<QSslError> & errors);
void requestFinished(QNetworkReply *reply);
void reloadInitial();
+ void maybeTriggerBack();
private:
BrowserSettings _settings;