Open direct version URL with :version

This avoids an unecessary redirect from qute://version to qute://version/
This commit is contained in:
Florian Bruhin 2019-03-08 12:15:28 +01:00
parent 69a93c7a63
commit cd20f3803b

View File

@ -311,7 +311,7 @@ def version(win_id, paste=False):
"""
tabbed_browser = objreg.get('tabbed-browser', scope='window',
window=win_id)
tabbed_browser.load_url(QUrl('qute://version'), newtab=True)
tabbed_browser.load_url(QUrl('qute://version/'), newtab=True)
if paste:
pastebin_version()