main_window fixerinno

remove sinful toolbar sorcery
This commit is contained in:
Megamouse 2017-07-18 19:25:21 +02:00 committed by Ivan
parent 67bbd59924
commit ab534ac55d
2 changed files with 3 additions and 4 deletions

View File

@ -1191,10 +1191,6 @@ void main_window::CreateConnects()
gameListFrame->SetListMode(isList);
categoryVisibleActGroup->setEnabled(isList);
});
connect(ui->toolBar, &QToolBar::visibilityChanged, [=](bool checked) {
ui->showToolBarAct->setChecked(checked);
guiSettings->SetValue(GUI::mw_toolBarVisible, checked);
});
connect(ui->toolbar_disc, &QAction::triggered, this, &main_window::BootGame);
connect(ui->toolbar_refresh, &QAction::triggered, [=]() { gameListFrame->Refresh(true); });
connect(ui->toolbar_stop, &QAction::triggered, [=]() { Emu.Stop(); });

View File

@ -148,6 +148,9 @@ margin-left:14px;</string>
<height>21</height>
</rect>
</property>
<property name="contextMenuPolicy">
<enum>Qt::PreventContextMenu</enum>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>