Fix lint.
This commit is contained in:
parent
f451d7b98c
commit
90f1d5851c
@ -291,7 +291,6 @@ class CommandDispatcher:
|
|||||||
|
|
||||||
*args: Arguments for spawn/userscript/fill.
|
*args: Arguments for spawn/userscript/fill.
|
||||||
|
|
||||||
|
|
||||||
- With `spawn`: The executable and arguments to spawn.
|
- With `spawn`: The executable and arguments to spawn.
|
||||||
`{hint-url}` will get replaced by the selected
|
`{hint-url}` will get replaced by the selected
|
||||||
URL.
|
URL.
|
||||||
|
@ -347,7 +347,6 @@ class HintManager(QObject):
|
|||||||
url: The URL to open as a QUrl.
|
url: The URL to open as a QUrl.
|
||||||
"""
|
"""
|
||||||
qt_ensure_valid(url)
|
qt_ensure_valid(url)
|
||||||
command = self._context.args[0]
|
|
||||||
urlstr = url.toDisplayString(QUrl.FullyEncoded)
|
urlstr = url.toDisplayString(QUrl.FullyEncoded)
|
||||||
args = self._context.get_args(urlstr)
|
args = self._context.get_args(urlstr)
|
||||||
message.set_cmd_text(' '.join(args))
|
message.set_cmd_text(' '.join(args))
|
||||||
|
Loading…
Reference in New Issue
Block a user