refactor: clean up some MainWindow stuff

this makes the accounts button and menubar item share the same QMenu
and also refactors some code

Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
leo78913
2023-01-26 19:48:21 -03:00
parent 5a25ce8c1b
commit 4d2b5c2f42
3 changed files with 26 additions and 39 deletions

View File

@ -487,6 +487,9 @@
</property>
</action>
<action name="actionNoDefaultAccount">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset theme="noaccount">
<normaloff>.</normaloff>.</iconset>
@ -494,6 +497,9 @@
<property name="text">
<string>No Default Account</string>
</property>
<property name="shortcut">
<string>Ctrl+0</string>
</property>
</action>
<action name="actionCloseWindow">
<property name="icon">