diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-27 14:21:47 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-27 14:21:47 +0100 |
commit | b6d67062661ee515da35202aafc94b6c2924d52c (patch) | |
tree | 21fc9d96ccd073060ad866e2b7a8b6bea65be2c2 /qutebrowser/app.py | |
parent | 72bc00f7f50035905c4355a94c13258cb95a9f10 (diff) | |
download | qutebrowser-b6d67062661ee515da35202aafc94b6c2924d52c.tar.gz qutebrowser-b6d67062661ee515da35202aafc94b6c2924d52c.zip |
Update Qt 5.15 session warning again
Also don't show it for new users - this doesn't really help much if
someone just started using qutebrowser.
See #5359
Diffstat (limited to 'qutebrowser/app.py')
-rw-r--r-- | qutebrowser/app.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 05350bdb6..51a5db8b7 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -372,6 +372,12 @@ def _open_special_pages(args): 'qute://warning/sessions'), ] + if 'quickstart-done' not in general_sect: + # New users aren't going to be affected by the Qt 5.15 session change much, as + # they aren't used to qutebrowser saving the full back/forward history in + # sessions. + general_sect['session-warning-shown'] = '1' + for state, condition, url in pages: if general_sect.get(state) != '1' and condition: tabbed_browser.tabopen(QUrl(url), background=False) |