diff --git a/.gitignore b/.gitignore index 04e080afc..7a94f3b6d 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,4 @@ cmake-build-*/ /out/ /dist/ CMakeUserPresets.json -/third_party/externals -/src/plugins/simulator/msfs2024/simulatormsfs2024.cpp_ -/src/plugins/simulator/msfs2024/simulatormsfs2024.h_ +/third_party/externals \ No newline at end of file diff --git a/src/gui/components/dbownmodelscomponent.cpp b/src/gui/components/dbownmodelscomponent.cpp index 63d098793..94a698b82 100644 --- a/src/gui/components/dbownmodelscomponent.cpp +++ b/src/gui/components/dbownmodelscomponent.cpp @@ -97,10 +97,7 @@ namespace swift::gui::components ui->tvp_OwnAircraftModels->setCustomMenu(new CConsolidateWithDbDataMenu(ui->tvp_OwnAircraftModels, this)); } - CDbOwnModelsComponent::~CDbOwnModelsComponent() - { - // void - } + CDbOwnModelsComponent::~CDbOwnModelsComponent() = default; const QStringList &CDbOwnModelsComponent::getLogCategories() { diff --git a/src/gui/components/logincomponent.cpp b/src/gui/components/logincomponent.cpp index d57c0350f..e5a8e6f52 100644 --- a/src/gui/components/logincomponent.cpp +++ b/src/gui/components/logincomponent.cpp @@ -136,7 +136,7 @@ namespace swift::gui::components }); } - CLoginComponent::~CLoginComponent() {} + CLoginComponent::~CLoginComponent() = default; void CLoginComponent::mainInfoAreaChanged(const QWidget *currentWidget) { @@ -313,7 +313,7 @@ namespace swift::gui::components void CLoginComponent::onSimulatorStatusChanged(int status) { - ISimulator::SimulatorStatus s = static_cast(status); + auto s = static_cast(status); if (!this->hasValidContexts()) { return; } m_simulatorConnected = s.testFlag(ISimulator::Connected); this->updateUiConnectState();