]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.h
Add "Unlock panels" to main window context menu
[dolphin.git] / src / dolphinmainwindow.h
index 5ada022cbdec511cb195d0f03a9a51fa30ca6e23..1a3ec4efb7a7e8d3b9e112df506fc48c7b93abef 100644 (file)
@@ -95,6 +95,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