Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/main.qml
Context not available. | |||||
109 | } | 109 | } | ||
---|---|---|---|---|---|
110 | 110 | | |||
111 | Component.onCompleted: { | 111 | Component.onCompleted: { | ||
112 | favoritesModel.favorites = plasmoid.configuration.favoriteApps; | 112 | favoritesModel.initForClient("org.kde.plasma.kicker.favorites.instance-" + plasmoid.id) | ||
113 | | ||||
114 | if (!plasmoid.configuration.favoritesPortedToKAstats) { | ||||
115 | favoritesModel.portOldFavorites(plasmoid.configuration.favoriteApps); | ||||
116 | plasmoid.configuration.favoritesPortedToKAstats = true; | ||||
117 | } | ||||
118 | | ||||
113 | rootModel.refresh(); | 119 | rootModel.refresh(); | ||
114 | } | 120 | } | ||
115 | } | 121 | } | ||
Context not available. |