diff options
| author | Kai Uwe Broulik <[email protected]> | 2022-01-28 20:02:49 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2022-01-31 12:06:08 +0000 |
| commit | 1c5b6d4d1042877863801e3c0b683e8a9c41be18 (patch) | |
| tree | f1da2189aa6f16d5de611cb3add78c7988fa7b61 /src/dolphinmainwindow.h | |
| parent | d68bb06e890d60613fdc839690e3cd047d726fcd (diff) | |
Add "Unlock panels" to main window context menu
It's the Qt-provided one that shows on the menu bar
and dock widget title bars.
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 5ada022cb..1a3ec4efb 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -96,6 +96,12 @@ public: KNewFileMenu* newFileMenu() const; /** + * Augments Qt's build-in QMainWindow context menu to add + * Dolphin-specific actions, such as "unlock panels". + */ + QMenu *createPopupMenu() override; + + /** * Switch the window's view containers' locations to display the home path * for any which are currently displaying a location corresponding to or * within mountPath. |
