mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
Formatting, typos
This commit is contained in:
committed by
Mathew Sutcliffe
parent
15b8363e30
commit
23b310ac9b
@@ -137,7 +137,7 @@ namespace BlackCore
|
||||
bool m_dbDebugFlag = false; //!< can trigger DEBUG on the server, so you need to know hat you are doing
|
||||
};
|
||||
|
||||
//! Trait for for global setup data
|
||||
//! Trait for global setup data
|
||||
struct GlobalSetup : public BlackCore::CDataTrait<CGlobalSetup>
|
||||
{
|
||||
//! Key in data cache
|
||||
@@ -146,8 +146,8 @@ namespace BlackCore
|
||||
//! Default value
|
||||
static const CGlobalSetup &defaultValue()
|
||||
{
|
||||
static const CGlobalSetup urls;
|
||||
return urls;
|
||||
static const CGlobalSetup gs;
|
||||
return gs;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -33,10 +33,9 @@ namespace BlackGui
|
||||
QWidgetList tlw = topLevelApplicationWidgetsWithName();
|
||||
for (QWidget *w : tlw)
|
||||
{
|
||||
// best coice is to check on frameless window
|
||||
// best choice is to check on frameless window
|
||||
CEnableForFramelessWindow *mw = dynamic_cast<CEnableForFramelessWindow *>(w);
|
||||
if (mw && mw->isMainApplicationWindow()) { return mw; }
|
||||
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -219,6 +219,5 @@ namespace BlackMisc
|
||||
CNetworkUtils::ignoreSslVerification(request);
|
||||
return request;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespacee
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace BlackMisc
|
||||
static QNetworkRequest getNetworkRequest(const CUrl &url, RequestType type = Get);
|
||||
|
||||
private:
|
||||
//! Deleted constructor
|
||||
//! Hidden constructor
|
||||
CNetworkUtils() {}
|
||||
|
||||
};
|
||||
|
||||
@@ -37,7 +37,6 @@ namespace BlackMisc
|
||||
|
||||
//! Construct from a base class object.
|
||||
CUserList(const CSequence &other);
|
||||
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackMisc
|
||||
bool success = this->m_vPilotReader->read(false);
|
||||
if (success)
|
||||
{
|
||||
this->m_datastoreModels = this->m_vPilotReader->getRules().toAircraftModels();
|
||||
this->m_datastoreModels = this->m_vPilotReader->getRules().toAircraftModels();
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace BlackMisc
|
||||
int m_loadedFiles = 0; //!< loaded files
|
||||
CVPilotModelRuleSet m_rules; //!< rules list
|
||||
bool m_asyncLoadInProgress = false; //!< Asynchronous load in progress
|
||||
bool m_shutdown = false; //!< Shutdown
|
||||
bool m_shutdown = false; //!< Shutdown
|
||||
mutable BlackMisc::Simulation::CAircraftModelList m_models; //!< converted to models
|
||||
mutable QReadWriteLock m_lockData;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user