Qt: unify running detection
This commit is contained in:
parent
309ffc1df1
commit
bdc59c4c21
5 changed files with 9 additions and 12 deletions
|
@ -9,10 +9,9 @@
|
|||
|
||||
#include "core/settings.h"
|
||||
|
||||
ConfigureDialog::ConfigureDialog(QWidget *parent, bool running) :
|
||||
ConfigureDialog::ConfigureDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::ConfigureDialog),
|
||||
emulation_running(running)
|
||||
ui(new Ui::ConfigureDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->setConfiguration();
|
||||
|
@ -22,9 +21,6 @@ ConfigureDialog::~ConfigureDialog() {
|
|||
}
|
||||
|
||||
void ConfigureDialog::setConfiguration() {
|
||||
// System tab needs set manually
|
||||
// depending on whether emulation is running
|
||||
ui->systemTab->setConfiguration(emulation_running);
|
||||
}
|
||||
|
||||
void ConfigureDialog::applyConfiguration() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue