mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
fix: first changes from the pull request
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -52,5 +52,3 @@ cmake-build-*/
|
|||||||
/dist/
|
/dist/
|
||||||
CMakeUserPresets.json
|
CMakeUserPresets.json
|
||||||
/third_party/externals
|
/third_party/externals
|
||||||
/src/plugins/simulator/msfs2024/simulatormsfs2024.cpp_
|
|
||||||
/src/plugins/simulator/msfs2024/simulatormsfs2024.h_
|
|
||||||
|
|||||||
@@ -97,10 +97,7 @@ namespace swift::gui::components
|
|||||||
ui->tvp_OwnAircraftModels->setCustomMenu(new CConsolidateWithDbDataMenu(ui->tvp_OwnAircraftModels, this));
|
ui->tvp_OwnAircraftModels->setCustomMenu(new CConsolidateWithDbDataMenu(ui->tvp_OwnAircraftModels, this));
|
||||||
}
|
}
|
||||||
|
|
||||||
CDbOwnModelsComponent::~CDbOwnModelsComponent()
|
CDbOwnModelsComponent::~CDbOwnModelsComponent() = default;
|
||||||
{
|
|
||||||
// void
|
|
||||||
}
|
|
||||||
|
|
||||||
const QStringList &CDbOwnModelsComponent::getLogCategories()
|
const QStringList &CDbOwnModelsComponent::getLogCategories()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ namespace swift::gui::components
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
CLoginComponent::~CLoginComponent() {}
|
CLoginComponent::~CLoginComponent() = default;
|
||||||
|
|
||||||
void CLoginComponent::mainInfoAreaChanged(const QWidget *currentWidget)
|
void CLoginComponent::mainInfoAreaChanged(const QWidget *currentWidget)
|
||||||
{
|
{
|
||||||
@@ -313,7 +313,7 @@ namespace swift::gui::components
|
|||||||
|
|
||||||
void CLoginComponent::onSimulatorStatusChanged(int status)
|
void CLoginComponent::onSimulatorStatusChanged(int status)
|
||||||
{
|
{
|
||||||
ISimulator::SimulatorStatus s = static_cast<ISimulator::SimulatorStatus>(status);
|
auto s = static_cast<ISimulator::SimulatorStatus>(status);
|
||||||
if (!this->hasValidContexts()) { return; }
|
if (!this->hasValidContexts()) { return; }
|
||||||
m_simulatorConnected = s.testFlag(ISimulator::Connected);
|
m_simulatorConnected = s.testFlag(ISimulator::Connected);
|
||||||
this->updateUiConnectState();
|
this->updateUiConnectState();
|
||||||
|
|||||||
Reference in New Issue
Block a user