Fix path upload preview popup when QRC is used

This commit is contained in:
miruka 2020-07-17 11:10:15 -04:00
parent bd30f89055
commit 6463228db2

View File

@ -48,7 +48,11 @@ HColumnPopup {
}
HImage {
source: popup.filePath
source:
popup.filePath.startsWith("file://") ?
popup.filePath :
"file://" + popup.filePath
visible: status !== Image.Error
sourceSize.width: popup.contentWidthLimit