mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Qt: fix gui settings options
This commit is contained in:
parent
f8d396ac9e
commit
451d64407b
4 changed files with 108 additions and 41 deletions
|
|
@ -78,9 +78,6 @@ void main_window::Init()
|
|||
|
||||
setAcceptDrops(true);
|
||||
|
||||
// hide utilities from the average user
|
||||
ui->menuUtilities->menuAction()->setVisible(guiSettings->GetValue(gui::m_showDebugTab).toBool());
|
||||
|
||||
// add toolbar widgets (crappy Qt designer is not able to)
|
||||
ui->toolBar->setObjectName("mw_toolbar");
|
||||
ui->sizeSlider->setRange(0, gui::gl_max_slider_pos);
|
||||
|
|
@ -1546,6 +1543,9 @@ void main_window::ConfigureGuiFromSettings(bool configure_all)
|
|||
}
|
||||
}
|
||||
|
||||
// hide utilities from the average user
|
||||
ui->menuUtilities->menuAction()->setVisible(guiSettings->GetValue(gui::m_showDebugTab).toBool());
|
||||
|
||||
ui->showLogAct->setChecked(guiSettings->GetValue(gui::mw_logger).toBool());
|
||||
ui->showGameListAct->setChecked(guiSettings->GetValue(gui::mw_gamelist).toBool());
|
||||
ui->showDebuggerAct->setChecked(guiSettings->GetValue(gui::mw_debugger).toBool());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue