Qml app is more aggressive in parsing links

Some app lile t3legram prepend other textxs when a message is copied, so
 if a retroshare link is passed via t3legram and the user do copy/paste
 on retroshare, retroshare get "some text + retroshare link", to avoid
 the link being forgot we parte pasted textx more aggressively
This commit is contained in:
Gioacchino Mazzurco 2017-04-20 23:53:45 +02:00
parent 7b070e482d
commit 3a3c4691ce
2 changed files with 4 additions and 3 deletions

View file

@ -114,8 +114,9 @@ ApplicationWindow
MenuItem
{
text: "Paste Link"
onTriggered:
handleIntentUri(ClipboardWrapper.getFromClipBoard())
onTriggered: UriJs.URI.withinString(
ClipboardWrapper.getFromClipBoard(),
handleIntentUri)
enabled: mainWindow.coreReady
}