Fix path upload preview popup when QRC is used
This commit is contained in:
parent
bd30f89055
commit
6463228db2
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user