mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-12 20:36:02 +08:00
filesToSendDelegate: use js startsWith to check qt resource url
Gitlab: #492 Change-Id: I67c9c1eafe29ce8d8a150af2b914a15f9c74d7f2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user