mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +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()
|
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_ASSERT_X(s, Q_FUNC_INFO, "invoke failed");
|
||||||
Q_UNUSED(s);
|
Q_UNUSED(s);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ namespace BlackGui
|
|||||||
static const QString &pathStashEditor() { static const QString p("Custom.13.Stash/Editor"); return p; }
|
static const QString &pathStashEditor() { static const QString p("Custom.13.Stash/Editor"); return p; }
|
||||||
|
|
||||||
//! vPilot data
|
//! 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; }
|
static const QString &pathVPilot() { static const QString p("Custom.14.vPilot/vPilot"); return p; }
|
||||||
|
|
||||||
//! Log functionality
|
//! Log functionality
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ namespace BlackSimPlugin
|
|||||||
HRESULT directPlayMessageHandler(DWORD messageId, void *msgBuffer);
|
HRESULT directPlayMessageHandler(DWORD messageId, void *msgBuffer);
|
||||||
|
|
||||||
//! Initialize DirectPlay
|
//! Initialize DirectPlay
|
||||||
HRESULT initDirectPlay();
|
HRESULT initDirectPlay();
|
||||||
|
|
||||||
//! Returns true of the service provider is a valid on this machine
|
//! Returns true of the service provider is a valid on this machine
|
||||||
bool isServiceProviderValid(const GUID *pGuidSP);
|
bool isServiceProviderValid(const GUID *pGuidSP);
|
||||||
|
|||||||
@@ -109,10 +109,7 @@ void CSwiftData::init()
|
|||||||
const CGlobalSetup s(sApp->getGlobalSetup());
|
const CGlobalSetup s(sApp->getGlobalSetup());
|
||||||
if (!s.getDbHomePageUrl().isEmpty())
|
if (!s.getDbHomePageUrl().isEmpty())
|
||||||
{
|
{
|
||||||
QString t(this->windowTitle());
|
this->setWindowTitle(QString("%1 %2").arg(this->windowTitle(), s.getDbHomePageUrl().toQString(true)));
|
||||||
t += " ";
|
|
||||||
t += s.getDbHomePageUrl().toQString(true);
|
|
||||||
this->setWindowTitle(t);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sGui->triggerNewVersionCheck(10 * 1000);
|
sGui->triggerNewVersionCheck(10 * 1000);
|
||||||
@@ -158,7 +155,7 @@ void CSwiftData::performGracefulShutdown()
|
|||||||
|
|
||||||
void CSwiftData::consolidationSettingChanged()
|
void CSwiftData::consolidationSettingChanged()
|
||||||
{
|
{
|
||||||
int consolidationSecs = m_consolidationSettings.get();
|
const int consolidationSecs = m_consolidationSettings.get();
|
||||||
if (consolidationSecs < 0)
|
if (consolidationSecs < 0)
|
||||||
{
|
{
|
||||||
if (m_updater)
|
if (m_updater)
|
||||||
|
|||||||
Reference in New Issue
Block a user