trying to fix models
This commit is contained in:
parent
a1f18f803d
commit
b61e05a423
6 changed files with 20 additions and 28 deletions
|
@ -81,7 +81,7 @@ Item {
|
|||
id: serviceListItem
|
||||
implicitWidth: serviceItemList.width
|
||||
height: Kirigami.Units.gridUnit * 2
|
||||
Component.onCompleted: Utils.dbg("SERVICEMODEL: " + name)
|
||||
Component.onCompleted: Utils.dbg("HELLLLLOOOOOO: " + ServiceItemModel.getItem(0).name)
|
||||
|
||||
property var selectedItems
|
||||
|
||||
|
@ -161,7 +161,7 @@ Item {
|
|||
anchors.rightMargin: 5
|
||||
implicitWidth: Kirigami.Units.gridUnit
|
||||
source: {
|
||||
switch (type) {
|
||||
switch (ty) {
|
||||
case 'image': return "folder-pictures-symbolic";
|
||||
case 'video': return "folder-videos-symbolic";
|
||||
case 'song': return "folder-music-symbolic";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue