Fix warning about binding loop of with property in Plasmoid code
Specifying the with explicitely on every level seems to fix this. Not sure whether it is the best solution but Qt 6 will likely mess up everything anyways so let's not put further effort into the QML stuff at this point.
This commit is contained in:
parent
80704e0028
commit
f952ca6ba1
|
@ -17,10 +17,12 @@ Item {
|
|||
|
||||
TopLevelView {
|
||||
id: deviceView
|
||||
width: parent.width
|
||||
model: plasmoid.nativeInterface.devModel
|
||||
|
||||
delegate: TopLevelItem {
|
||||
id: item
|
||||
width: deviceView.width
|
||||
property alias resumePauseButton: resumePauseButton
|
||||
|
||||
ColumnLayout {
|
||||
|
|
|
@ -19,6 +19,7 @@ ColumnLayout {
|
|||
|
||||
TopLevelView {
|
||||
id: directoryView
|
||||
width: parent.width
|
||||
|
||||
model: PlasmaCore.SortFilterModel {
|
||||
id: directoryFilterModel
|
||||
|
@ -29,6 +30,7 @@ ColumnLayout {
|
|||
|
||||
delegate: TopLevelItem {
|
||||
id: item
|
||||
width: directoryView.width
|
||||
property alias errorsButton: errorsButton
|
||||
property alias rescanButton: rescanButton
|
||||
property alias resumePauseButton: resumePauseButton
|
||||
|
|
|
@ -17,10 +17,12 @@ Item {
|
|||
|
||||
TopLevelView {
|
||||
id: downloadView
|
||||
width: parent.width
|
||||
model: plasmoid.nativeInterface.downloadModel
|
||||
|
||||
delegate: TopLevelItem {
|
||||
id: item
|
||||
width: downloadView.width
|
||||
property alias openButton: openButton
|
||||
|
||||
ColumnLayout {
|
||||
|
|
|
@ -16,8 +16,10 @@ Item {
|
|||
|
||||
TopLevelView {
|
||||
id: recentChangesView
|
||||
width: parent.width
|
||||
model: plasmoid.nativeInterface.recentChangesModel
|
||||
delegate: TopLevelItem {
|
||||
width: recentChangesView.width
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
spacing: 0
|
||||
|
|
Loading…
Reference in New Issue