From e48ebe39d11153cedf9301fd6c2733a94403597f Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 12 Feb 2015 11:09:26 -0500 Subject: Clean up some plugin interactions (including an OpenBSD crash with desktop plugin interactions). --- lumina-desktop/panel-plugins/userbutton/LUserButton.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lumina-desktop/panel-plugins/userbutton/LUserButton.cpp') diff --git a/lumina-desktop/panel-plugins/userbutton/LUserButton.cpp b/lumina-desktop/panel-plugins/userbutton/LUserButton.cpp index c33f9023..2ee2b494 100644 --- a/lumina-desktop/panel-plugins/userbutton/LUserButton.cpp +++ b/lumina-desktop/panel-plugins/userbutton/LUserButton.cpp @@ -24,6 +24,7 @@ LUserButtonPlugin::LUserButtonPlugin(QWidget *parent, QString id, bool horizonta menu->addAction(mact); button->setMenu(menu); + connect(menu, SIGNAL(aboutToHide()), this, SLOT(updateButtonVisuals()) ); QTimer::singleShot(0,this, SLOT(OrientationChange())); //Update icons/sizes } -- cgit