mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-23 08:19:57 -05: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
|
var runState = jsonReponse.data.runstate
|
||||||
if(typeof(runState) !== 'string')
|
if(typeof(runState) !== 'string')
|
||||||
{
|
{
|
||||||
console.log("runStateCallback(...) Core is hanged")
|
console.log("runStateCallback(par)", "Core hanged!", par.response)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,8 +114,9 @@ ApplicationWindow
|
|||||||
MenuItem
|
MenuItem
|
||||||
{
|
{
|
||||||
text: "Paste Link"
|
text: "Paste Link"
|
||||||
onTriggered:
|
onTriggered: UriJs.URI.withinString(
|
||||||
handleIntentUri(ClipboardWrapper.getFromClipBoard())
|
ClipboardWrapper.getFromClipBoard(),
|
||||||
|
handleIntentUri)
|
||||||
|
|
||||||
enabled: mainWindow.coreReady
|
enabled: mainWindow.coreReady
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user