From 6e1d411f9218645851f0dde54688739390b62736 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 3 Apr 2020 21:23:35 +0300 Subject: Remove QMdiArea in MainWindow Kconfig: Change About Dialog shortcut default to F1 (was Ctrl+H) Change close current tab shortcut to Ctrl+W (was Ctrl+X) MainWindow: automatically close window when last subwindow is closed MenuBar: remove Tile/Cascade subwindows actions add show/hide/close subwindow actions SubWindow: remove Subwindow menu shortcut (was F1 by default) add close shortcut (default Ctrl+Shift+W) Minor fixes: Fix PKGBUILD sources --- src/mainwindow/menubar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainwindow/menubar.h') diff --git a/src/mainwindow/menubar.h b/src/mainwindow/menubar.h index f4d39c5..f369bef 100644 --- a/src/mainwindow/menubar.h +++ b/src/mainwindow/menubar.h @@ -24,6 +24,7 @@ public: void insertSubWindow(SubWindow *subwindow); private: + MainWindow *m_parent = nullptr; QMenu *smolbote = nullptr; QMenu *window = nullptr; QAction *pluginInsertLocation = nullptr; -- cgit v1.2.1