|
|
|
@ -26,8 +26,7 @@ Loader{
|
|
|
|
|
id: appletNumberLoader
|
|
|
|
|
|
|
|
|
|
active: appletItem.canShowAppletNumberBadge &&
|
|
|
|
|
((root.showAppletsNumbers && root.unifiedGlobalShortcuts)
|
|
|
|
|
|| (root.showMetaBadge && applet.id===applicationLauncherId))
|
|
|
|
|
(root.showAppletsNumbers || (root.showMetaBadge && applet.id===applicationLauncherId))
|
|
|
|
|
|
|
|
|
|
asynchronous: true
|
|
|
|
|
visible: badgeString!==""
|
|
|
|
@ -36,7 +35,7 @@ Loader{
|
|
|
|
|
property string badgeString: ""
|
|
|
|
|
|
|
|
|
|
onActiveChanged: {
|
|
|
|
|
if (active) {
|
|
|
|
|
if (active && root.unifiedGlobalShortcuts) {
|
|
|
|
|
fixedIndex = parabolicManager.pseudoAppletIndex(index);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -52,6 +51,14 @@ Loader{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (root.showAppletsNumbers) {
|
|
|
|
|
var plasmaShortcut = universalSettings.appletShortcutBadge(applet.id);
|
|
|
|
|
|
|
|
|
|
if (plasmaShortcut !== "") {
|
|
|
|
|
return plasmaShortcut;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (root.showMetaBadge && applet && applet.id === applicationLauncherId) {
|
|
|
|
|
return '\u2318';
|
|
|
|
|
} else if (appletNumberLoader.fixedIndex>=1 && appletNumberLoader.fixedIndex<20) {
|
|
|
|
|