mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Fix double file:// prefix in qml
This commit is contained in:
parent
caad10aafa
commit
a0dc8efd75
@ -139,14 +139,14 @@ Item {
|
||||
id: screenPlayItemImage
|
||||
anchors.fill: parent
|
||||
sourceImage: Qt.resolvedUrl(
|
||||
"file:///" + screenPlayItem.absoluteStoragePath
|
||||
screenPlayItem.absoluteStoragePath
|
||||
+ "/" + screenPreview)
|
||||
sourceImageGIF: {
|
||||
if (screenPreviewGIF === undefined) {
|
||||
return ""
|
||||
} else {
|
||||
return Qt.resolvedUrl(
|
||||
"file:///" + screenPlayItem.absoluteStoragePath
|
||||
screenPlayItem.absoluteStoragePath
|
||||
+ "/" + screenPreviewGIF)
|
||||
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ Item {
|
||||
onActiveScreenChanged: {
|
||||
txtHeadline.text = installedListModel.get(activeScreen).screenTitle
|
||||
image.source = Qt.resolvedUrl(
|
||||
"file:///" + installedListModel.absoluteStoragePath + "/"
|
||||
installedListModel.absoluteStoragePath + "/"
|
||||
+ activeScreen + "/" + installedListModel.get(
|
||||
activeScreen).screenPreview)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user