[qt6] Remove properties that do not exist anymore in Qt6.6

This commit is contained in:
Candice Bentéjac 2024-10-01 12:23:26 +02:00
parent 96a70c04ff
commit 02be73df65
7 changed files with 7 additions and 11 deletions

View file

@ -29,7 +29,7 @@ FocusScope {
anchors.fill: parent
property string currentFile: (root.currentChunkIndex >= 0 && root.currentChunk) ? root.currentChunk["logFile"] : ""
property url source: Filepath.stringToUrl(currentFile)
property url sourceFile: Filepath.stringToUrl(currentFile)
sourceComponent: textFileViewerComponent
}
@ -40,7 +40,7 @@ FocusScope {
TextFileViewer {
id: textFileViewer
anchors.fill: parent
source: componentLoader.source
source: componentLoader.sourceFile
autoReload: root.currentChunk !== undefined && root.currentChunk.statusName === "RUNNING"
// source is set in fileSelector
}