From 9b6800e8acc5dc802f8bd5e31b1892914b568f6e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 15 Apr 2015 13:43:09 -0400 Subject: Clean up a *lot* of the general XCB warnings that sometimes occur, and also tinker with the session cleanup routine quite a bit to streamline the order in which things are closed down (particularly with system tray apps). --- lumina-desktop/panel-plugins/LPPlugin.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lumina-desktop/panel-plugins/LPPlugin.h') diff --git a/lumina-desktop/panel-plugins/LPPlugin.h b/lumina-desktop/panel-plugins/LPPlugin.h index dc1c490e..dd869bf6 100644 --- a/lumina-desktop/panel-plugins/LPPlugin.h +++ b/lumina-desktop/panel-plugins/LPPlugin.h @@ -46,6 +46,11 @@ public: QString type(){ return plugintype; } + + virtual void AboutToClose(){ + //This needs to be re-implemented in the subclasses plugin + //This is for any last-minute cleanup before the plugin gets deleted + } public slots: virtual void LocaleChange(){ @@ -61,9 +66,6 @@ public slots: //This is where any horizontal/vertical orientations can be changed appropriately } - /*virtual void ResetMouseFocus(){ - // - }*/ }; #endif \ No newline at end of file -- cgit