Use "what != 'url-pretty'"

This commit is contained in:
Florian Bruhin 2016-08-07 11:02:50 +02:00
parent efada0a44c
commit 88d3e86259

View File

@ -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