mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
7b070e482d
commit
3a3c4691ce
@ -58,7 +58,7 @@ QtObject
|
||||
var runState = jsonReponse.data.runstate
|
||||
if(typeof(runState) !== 'string')
|
||||
{
|
||||
console.log("runStateCallback(...) Core is hanged")
|
||||
console.log("runStateCallback(par)", "Core hanged!", par.response)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -114,8 +114,9 @@ ApplicationWindow
|
||||
MenuItem
|
||||
{
|
||||
text: "Paste Link"
|
||||
onTriggered:
|
||||
handleIntentUri(ClipboardWrapper.getFromClipBoard())
|
||||
onTriggered: UriJs.URI.withinString(
|
||||
ClipboardWrapper.getFromClipBoard(),
|
||||
handleIntentUri)
|
||||
|
||||
enabled: mainWindow.coreReady
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user