1
0
Fork 0
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:
Ming Rui Zhang 2021-08-16 09:51:10 -04:00
parent a811b9666c
commit 51c09e0142

View file

@ -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