Merge branch 'Evidlo-master'
This commit is contained in:
commit
79cf6fa095
@ -187,6 +187,7 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Corentin Jule
|
* Corentin Jule
|
||||||
* zwarag
|
* zwarag
|
||||||
* xd1le
|
* xd1le
|
||||||
|
* evan
|
||||||
* dylan araps
|
* dylan araps
|
||||||
* Tim Harder
|
* Tim Harder
|
||||||
* Thiago Barroso Perrotta
|
* Thiago Barroso Perrotta
|
||||||
|
@ -468,8 +468,10 @@ class HintManager(QObject):
|
|||||||
mode = QClipboard.Selection if sel else QClipboard.Clipboard
|
mode = QClipboard.Selection if sel else QClipboard.Clipboard
|
||||||
urlstr = url.toString(QUrl.FullyEncoded | QUrl.RemovePassword)
|
urlstr = url.toString(QUrl.FullyEncoded | QUrl.RemovePassword)
|
||||||
QApplication.clipboard().setText(urlstr, mode)
|
QApplication.clipboard().setText(urlstr, mode)
|
||||||
message.info(self._win_id, "URL yanked to {}".format(
|
msg = "Yanked URL to {}: {}".format(
|
||||||
"primary selection" if sel else "clipboard"))
|
"primary selection" if sel else "clipboard",
|
||||||
|
urlstr)
|
||||||
|
message.info(self._win_id, msg)
|
||||||
|
|
||||||
def _run_cmd(self, url, context):
|
def _run_cmd(self, url, context):
|
||||||
"""Run the command based on a hint URL.
|
"""Run the command based on a hint URL.
|
||||||
|
Loading…
Reference in New Issue
Block a user