aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/desktop-plugins/LDPlugin.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-12-04 08:41:43 -0500
committerKen Moore <moorekou@gmail.com>2015-12-04 08:41:43 -0500
commit4cb42e27edd093948bf9cf61e516ff609938f4cb (patch)
tree4011dec2a72a2dabc158a04150603aac9205eb02 /lumina-desktop/desktop-plugins/LDPlugin.h
parentMerge branch 'master' of github.com:pcbsd/lumina (diff)
downloadlumina-4cb42e27edd093948bf9cf61e516ff609938f4cb.tar.gz
lumina-4cb42e27edd093948bf9cf61e516ff609938f4cb.tar.bz2
lumina-4cb42e27edd093948bf9cf61e516ff609938f4cb.zip
Ensure that when a desktop item opens it's context menu it hides the main desktop's context menu (if visible).
Diffstat (limited to 'lumina-desktop/desktop-plugins/LDPlugin.h')
-rw-r--r--lumina-desktop/desktop-plugins/LDPlugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lumina-desktop/desktop-plugins/LDPlugin.h b/lumina-desktop/desktop-plugins/LDPlugin.h
index 6a3c82a1..27fcaa24 100644
--- a/lumina-desktop/desktop-plugins/LDPlugin.h
+++ b/lumina-desktop/desktop-plugins/LDPlugin.h
@@ -98,11 +98,13 @@ public slots:
setupMenu();
}
void showPluginMenu(){
+ emit CloseDesktopMenu();
menu->popup( QCursor::pos() );
}
signals:
void OpenDesktopMenu();
+ void CloseDesktopMenu();
void PluginResized();
//Signals for communication with the desktop layout system (not generally used by hand)
bgstack15