aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/LPPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/LPPlugin.h')
-rw-r--r--lumina-desktop/panel-plugins/LPPlugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/LPPlugin.h b/lumina-desktop/panel-plugins/LPPlugin.h
index 995c8742..c4c76297 100644
--- a/lumina-desktop/panel-plugins/LPPlugin.h
+++ b/lumina-desktop/panel-plugins/LPPlugin.h
@@ -32,6 +32,7 @@ public:
this->setFocusPolicy(Qt::NoFocus); //no keyboard focus on the panel/plugins
if(horizontal){LY = new QBoxLayout(QBoxLayout::LeftToRight, this); }
else{ LY = new QBoxLayout(QBoxLayout::TopToBottom, this); }
+ this->setObjectName(ptype.section("---",0,0));
LY->setContentsMargins(0,0,0,0);
LY->setSpacing(1);
this->setLayout(LY);
@@ -73,4 +74,4 @@ signals:
void MenuClosed(); //This needs to be emitted when any plugin's menu is closed for some reason (check/set focus properly)
};
-#endif \ No newline at end of file
+#endif
bgstack15