diff options
author | Ken Moore <moorekou@gmail.com> | 2015-12-04 08:41:43 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-12-04 08:41:43 -0500 |
commit | 4cb42e27edd093948bf9cf61e516ff609938f4cb (patch) | |
tree | 4011dec2a72a2dabc158a04150603aac9205eb02 /lumina-desktop/desktop-plugins/LDPlugin.h | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-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.h | 2 |
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) |