mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 23:37:57 +00:00
qt: Default destructors where applicable
Makes code consistent with our style of defaulting special member functions where applicable.
This commit is contained in:
parent
bca27da66b
commit
5de7c31baa
9 changed files with 15 additions and 16 deletions
|
@ -24,7 +24,7 @@ ConfigureDebug::ConfigureDebug(QWidget* parent) : QWidget(parent), ui(new Ui::Co
|
|||
});
|
||||
}
|
||||
|
||||
ConfigureDebug::~ConfigureDebug() {}
|
||||
ConfigureDebug::~ConfigureDebug() = default;
|
||||
|
||||
void ConfigureDebug::setConfiguration() {
|
||||
ui->toggle_gdbstub->setChecked(Settings::values.use_gdbstub);
|
||||
|
|
|
@ -12,7 +12,7 @@ ConfigureDialog::ConfigureDialog(QWidget* parent) : QDialog(parent), ui(new Ui::
|
|||
this->setConfiguration();
|
||||
}
|
||||
|
||||
ConfigureDialog::~ConfigureDialog() {}
|
||||
ConfigureDialog::~ConfigureDialog() = default;
|
||||
|
||||
void ConfigureDialog::setConfiguration() {}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
|
|||
ui->use_docked_mode->setEnabled(!Core::System::GetInstance().IsPoweredOn());
|
||||
}
|
||||
|
||||
ConfigureGeneral::~ConfigureGeneral() {}
|
||||
ConfigureGeneral::~ConfigureGeneral() = default;
|
||||
|
||||
void ConfigureGeneral::setConfiguration() {
|
||||
ui->toggle_deepscan->setChecked(UISettings::values.gamedir_deepscan);
|
||||
|
|
|
@ -14,7 +14,7 @@ ConfigureGraphics::ConfigureGraphics(QWidget* parent)
|
|||
this->setConfiguration();
|
||||
}
|
||||
|
||||
ConfigureGraphics::~ConfigureGraphics() {}
|
||||
ConfigureGraphics::~ConfigureGraphics() = default;
|
||||
|
||||
enum class Resolution : int {
|
||||
Auto,
|
||||
|
|
|
@ -35,7 +35,7 @@ ConfigureSystem::ConfigureSystem(QWidget* parent) : QWidget(parent), ui(new Ui::
|
|||
this->setConfiguration();
|
||||
}
|
||||
|
||||
ConfigureSystem::~ConfigureSystem() {}
|
||||
ConfigureSystem::~ConfigureSystem() = default;
|
||||
|
||||
void ConfigureSystem::setConfiguration() {
|
||||
enabled = !Core::System::GetInstance().IsPoweredOn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue