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