Fix: fix some regressions in the main window
this removes the update action from the help button and fixes the add to path action not showing on macos Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
c78db5459e
commit
2b0252d4ae
@ -192,7 +192,9 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
foldersMenuButton->setPopupMode(QToolButton::InstantPopup);
|
||||
|
||||
helpMenuButton = dynamic_cast<QToolButton*>(ui->mainToolBar->widgetForAction(ui->actionHelpButton));
|
||||
ui->actionHelpButton->setMenu(ui->helpMenu);
|
||||
ui->actionHelpButton->setMenu(new QMenu(this));
|
||||
ui->actionHelpButton->menu()->addActions(ui->helpMenu->actions());
|
||||
ui->actionHelpButton->menu()->removeAction(ui->actionCheckUpdate);
|
||||
helpMenuButton->setPopupMode(QToolButton::InstantPopup);
|
||||
|
||||
auto accountMenuButton = dynamic_cast<QToolButton*>(ui->mainToolBar->widgetForAction(ui->actionAccountsButton));
|
||||
|
@ -621,9 +621,6 @@
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAddToPATH">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="custom-commands">
|
||||
<normaloff>.</normaloff>.</iconset>
|
||||
@ -634,9 +631,6 @@
|
||||
<property name="toolTip">
|
||||
<string>Install a %1 symlink to /usr/local/bin</string>
|
||||
</property>
|
||||
<property name="visible">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFoldersButton">
|
||||
<property name="icon">
|
||||
|
Loading…
Reference in New Issue
Block a user