Merge pull request #795 from leo78913/mainwindow-fixes
closes https://github.com/PrismLauncher/PrismLauncher/issues/792
This commit is contained in:
commit
a714d5966e
@ -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