diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-03 21:23:35 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-04-03 21:23:35 +0300 |
commit | 6e1d411f9218645851f0dde54688739390b62736 (patch) | |
tree | 7cc4af0155a3ce9dc5a0fb4014975b0aa9d2d165 /src/mainwindow/menubar.h | |
parent | Fix various compiler warnings (diff) | |
download | smolbote-6e1d411f9218645851f0dde54688739390b62736.tar.xz |
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
Diffstat (limited to 'src/mainwindow/menubar.h')
-rw-r--r-- | src/mainwindow/menubar.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |