fix warnings

pull/4/head
Michail Vourlakos 6 years ago
parent 9cd851faea
commit 8e8b8e0c73

@ -62,7 +62,7 @@ Loader{
}
if (root.showAppletShortcutBadges) {
var plasmaShortcut = universalSettings.appletShortcutBadge(applet.id);
var plasmaShortcut = applet ? universalSettings.appletShortcutBadge(applet.id) : "";
if (plasmaShortcut !== "") {
return plasmaShortcut;

@ -1192,7 +1192,9 @@ DragDrop.DropArea {
showMetaBadge = showMeta;
applicationLauncherId = applicationLauncher;
root.latteApplet.parabolicManager.updateTasksEdgesIndexes();
if (latteApplet) {
latteApplet.parabolicManager.updateTasksEdgesIndexes();
}
}
// This is called by dockcorona in response to a Meta+number shortcut.

Loading…
Cancel
Save