Use "what != 'url-pretty'"
This commit is contained in:
parent
efada0a44c
commit
88d3e86259
@ -646,7 +646,7 @@ class CommandDispatcher:
|
||||
':' + str(port) if port > -1 else '')
|
||||
elif what in ['url', 'pretty-url']:
|
||||
flags = QUrl.RemovePassword
|
||||
if what == 'url': # Not pretty
|
||||
if what != 'url-pretty':
|
||||
flags |= QUrl.FullyEncoded
|
||||
s = self._current_url().toString(flags)
|
||||
what = 'URL' # For printing
|
||||
|
Loading…
Reference in New Issue
Block a user