Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/main.qml
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 103 | onShowRecentContactsChanged: { | |||
---|---|---|---|---|---|
104 | plasmoid.configuration.showRecentContacts = showRecentContacts; | 104 | plasmoid.configuration.showRecentContacts = showRecentContacts; | ||
105 | } | 105 | } | ||
106 | 106 | | |||
107 | onRecentOrderingChanged: { | 107 | onRecentOrderingChanged: { | ||
108 | plasmoid.configuration.recentOrdering = recentOrdering; | 108 | plasmoid.configuration.recentOrdering = recentOrdering; | ||
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 | } | ||
116 | 122 | | |||
117 | Connections { | 123 | Connections { | ||
118 | target: globalFavorites | 124 | target: globalFavorites | ||
119 | 125 | | |||
120 | onFavoritesChanged: { | 126 | onFavoritesChanged: { | ||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |