Skip to content
Snippets Groups Projects
Commit 51c09e01 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

filesToSendDelegate: use js startsWith to check qt resource url

Gitlab: #492

Change-Id: I67c9c1eafe29ce8d8a150af2b914a15f9c74d7f2
parent a811b966
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment