Style fix
This commit is contained in:
parent
045b54b94b
commit
6c3b0219e7
@ -673,11 +673,10 @@ class CommandDispatcher:
|
||||
':' + str(port) if port > -1 else '')
|
||||
what = 'domain'
|
||||
else:
|
||||
cur_url = self._current_url()
|
||||
if pretty:
|
||||
s = cur_url.toString(QUrl.RemovePassword)
|
||||
else:
|
||||
s = cur_url.toString(QUrl.FullyEncoded | QUrl.RemovePassword)
|
||||
flags = QUrl.RemovePassword
|
||||
if not pretty:
|
||||
flags |= QUrl.FullyEncoded
|
||||
s = self._current_url().toString(flags)
|
||||
what = 'URL'
|
||||
|
||||
if sel and QApplication.clipboard().supportsSelection():
|
||||
|
Loading…
Reference in New Issue
Block a user