mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-24 17:35:43 +02:00
filesToSendDelegate: use js startsWith to check qt resource url
Gitlab: #492 Change-Id: I67c9c1eafe29ce8d8a150af2b914a15f9c74d7f2
This commit is contained in:
parent
a811b9666c
commit
51c09e0142
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Rectangle {
|
|||
|
||||
// :/ -> resource url for test purposes
|
||||
var sourceUrl = FilePath
|
||||
if (!sourceUrl.includes(":/"))
|
||||
if (!sourceUrl.startsWith(":/"))
|
||||
return JamiQmlUtils.qmlFilePrefix + sourceUrl
|
||||
else
|
||||
return "qrc" + sourceUrl
|
||||
|
|
Loading…
Add table
Reference in a new issue