mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Formatting, minor tweaks
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a1e16ea162
commit
3780bc18e0
@@ -85,7 +85,7 @@ namespace BlackCore
|
||||
|
||||
void CAirspaceAnalyzer::gracefulShutdown()
|
||||
{
|
||||
bool s = QMetaObject::invokeMethod(&m_timer, "stop");
|
||||
const bool s = QMetaObject::invokeMethod(&m_timer, "stop");
|
||||
Q_ASSERT_X(s, Q_FUNC_INFO, "invoke failed");
|
||||
Q_UNUSED(s);
|
||||
}
|
||||
|
||||
@@ -137,6 +137,7 @@ namespace BlackGui
|
||||
static const QString &pathStashEditor() { static const QString p("Custom.13.Stash/Editor"); return p; }
|
||||
|
||||
//! vPilot data
|
||||
//! \deprecated vPilot functionality likely to be removed in the future
|
||||
static const QString &pathVPilot() { static const QString p("Custom.14.vPilot/vPilot"); return p; }
|
||||
|
||||
//! Log functionality
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace BlackSimPlugin
|
||||
HRESULT directPlayMessageHandler(DWORD messageId, void *msgBuffer);
|
||||
|
||||
//! Initialize DirectPlay
|
||||
HRESULT initDirectPlay();
|
||||
HRESULT initDirectPlay();
|
||||
|
||||
//! Returns true of the service provider is a valid on this machine
|
||||
bool isServiceProviderValid(const GUID *pGuidSP);
|
||||
|
||||
@@ -109,10 +109,7 @@ void CSwiftData::init()
|
||||
const CGlobalSetup s(sApp->getGlobalSetup());
|
||||
if (!s.getDbHomePageUrl().isEmpty())
|
||||
{
|
||||
QString t(this->windowTitle());
|
||||
t += " ";
|
||||
t += s.getDbHomePageUrl().toQString(true);
|
||||
this->setWindowTitle(t);
|
||||
this->setWindowTitle(QString("%1 %2").arg(this->windowTitle(), s.getDbHomePageUrl().toQString(true)));
|
||||
}
|
||||
|
||||
sGui->triggerNewVersionCheck(10 * 1000);
|
||||
@@ -158,7 +155,7 @@ void CSwiftData::performGracefulShutdown()
|
||||
|
||||
void CSwiftData::consolidationSettingChanged()
|
||||
{
|
||||
int consolidationSecs = m_consolidationSettings.get();
|
||||
const int consolidationSecs = m_consolidationSettings.get();
|
||||
if (consolidationSecs < 0)
|
||||
{
|
||||
if (m_updater)
|
||||
|
||||
Reference in New Issue
Block a user