mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 05:51:23 +08:00
Ref T335, style and CLANG warnings
This commit is contained in:
@@ -7,12 +7,15 @@
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "blackcore/context/contextownaircraft.h"
|
||||
#include "blackcore/context/contextsimulator.h"
|
||||
#include "ui_simulatorcomponent.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "blackgui/components/simulatorcomponent.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackgui/views/namevariantpairview.h"
|
||||
#include "blackcore/context/contextownaircraft.h"
|
||||
#include "blackcore/context/contextsimulator.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/simulation/simulatorplugininfo.h"
|
||||
#include "blackmisc/aviation/aircraftsituation.h"
|
||||
#include "blackmisc/aviation/altitude.h"
|
||||
#include "blackmisc/aviation/comsystem.h"
|
||||
@@ -22,9 +25,7 @@
|
||||
#include "blackmisc/pq/angle.h"
|
||||
#include "blackmisc/pq/frequency.h"
|
||||
#include "blackmisc/pq/speed.h"
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/simulation/simulatorplugininfo.h"
|
||||
#include "ui_simulatorcomponent.h"
|
||||
#include "blackmisc/stringutils.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
|
||||
@@ -29,10 +29,7 @@ namespace BlackMisc
|
||||
{
|
||||
class CIcon;
|
||||
class CStatusMessageList;
|
||||
namespace Simulation
|
||||
{
|
||||
class CSimulatedAircraft;
|
||||
}
|
||||
namespace Simulation { class CSimulatedAircraft; }
|
||||
}
|
||||
namespace Ui { class CSimulatorComponent; }
|
||||
namespace BlackGui
|
||||
|
||||
@@ -144,8 +144,8 @@ namespace BlackGui
|
||||
|
||||
BlackMisc::Simulation::IModelsForSimulatorSetable *modelsTargetSetable() const;
|
||||
BlackMisc::Simulation::IModelsForSimulatorUpdatable *modelsTargetUpdatable() const;
|
||||
BlackMisc::Simulation::ISimulatorSelectable *simulatorSelectable() const;
|
||||
BlackGui::Components::CDbMappingComponent *getMappingComponent() const;
|
||||
BlackMisc::Simulation::ISimulatorSelectable *simulatorSelectable() const;
|
||||
BlackGui::Components::CDbMappingComponent *getMappingComponent() const;
|
||||
|
||||
QObject *m_modelsTarget = nullptr; //!< optional target for setting/updating the models
|
||||
QAction *m_consolidateAll = nullptr; //!< consolidate data with DB (all)
|
||||
|
||||
@@ -689,7 +689,7 @@ namespace BlackGui
|
||||
if (containerSizeDependent < ResizeSubsetThreshold) { return -1; }
|
||||
}
|
||||
m_showingLoadIndicator = true;
|
||||
emit loadIndicatorVisibilityChanged(m_showingLoadIndicator);
|
||||
emit this->loadIndicatorVisibilityChanged(m_showingLoadIndicator);
|
||||
|
||||
if (!m_loadIndicator)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user