From 96db9776a9333db9057c2e74e500c31cd7fe4b09 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Mon, 12 Nov 2018 18:55:03 +0530 Subject: [PATCH] Show notifications, always set notifications applet as expaned ++cleanup --- containments/panel/package/contents/ui/main.qml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index cc6421c9..4222553f 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -57,17 +57,11 @@ PlasmaCore.ColorScope { applet.visible = true; container.visible = true; if (applet.pluginName == "org.kde.phone.notifications") { + applet.expanded = true applet.fullRepresentationItem.parent = notificationsParent; notificationsParent.applet = applet; applet.fullRepresentationItem.anchors.fill = notificationsParent; - } else if (applet.pluginName != "org.kde.phone.quicksettings") { - applet.expanded = true - applet.expanded = false - quickSettings.addPlasmoid(applet, fullRepsLayout.count); - applet.fullRepresentationItem.parent = fullRepsLayout; - fullRepsLayout.currentIndex = 0 - applet.fullRepresentationItem.anchors.fill = fullRepsLayout; - } + } } Component.onCompleted: {