Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/FullRepresentation.qml
Context not available. | |||||
65 | sorted: plasmoid.configuration.alphaSort | 65 | sorted: plasmoid.configuration.alphaSort | ||
---|---|---|---|---|---|
66 | showSeparators: false | 66 | showSeparators: false | ||
67 | 67 | | |||
68 | favoritesModel: Kicker.FavoritesModel { | 68 | favoritesModel: Kicker.KAStatsFavoritesModel { | ||
69 | id: rootModelFavorites | 69 | id: rootModelFavorites | ||
70 | favorites: plasmoid.configuration.favorites | 70 | favorites: plasmoid.configuration.favorites | ||
71 | 71 | | |||
Context not available. | |||||
73 | plasmoid.configuration.favorites = favorites; | 73 | plasmoid.configuration.favorites = favorites; | ||
74 | } | 74 | } | ||
75 | } | 75 | } | ||
76 | | ||||
77 | Component.onCompleted: { | ||||
78 | favoritesModel.initForClient("org.kde.plasma.kickoff.favorites.instance-" + plasmoid.id) | ||||
79 | | ||||
80 | if (!plasmoid.configuration.favoritesPortedToKAstats) { | ||||
81 | favoritesModel.portOldFavorites(plasmoid.configuration.favorites); | ||||
82 | plasmoid.configuration.favoritesPortedToKAstats = true; | ||||
83 | } | ||||
84 | | ||||
85 | rootModel.refresh(); | ||||
86 | } | ||||
76 | } | 87 | } | ||
77 | 88 | | |||
78 | Kicker.RunnerModel { | 89 | Kicker.RunnerModel { | ||
Context not available. |