mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
Ref T348, style
This commit is contained in:
@@ -55,14 +55,14 @@ namespace BlackGui
|
||||
QTimer::singleShot(1000, this, [ = ]
|
||||
{
|
||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||
if (myself.isNull()) { return; }
|
||||
if (!myself) { return; }
|
||||
this->onModeChanged();
|
||||
});
|
||||
|
||||
QTimer::singleShot(30 * 1000, this, [ = ]
|
||||
{
|
||||
if (!sGui || sGui->isShuttingDown()) { return; }
|
||||
if (myself.isNull()) { return; }
|
||||
if (!myself) { return; }
|
||||
this->onSetupChanged();
|
||||
});
|
||||
}
|
||||
@@ -140,7 +140,7 @@ namespace BlackGui
|
||||
const QPointer<CInterpolationSetupComponent> myself(this);
|
||||
QTimer::singleShot(250, this, [ = ]
|
||||
{
|
||||
if (myself.isNull()) { return; }
|
||||
if (!myself) { return; }
|
||||
this->reloadSetup();
|
||||
});
|
||||
}
|
||||
@@ -166,7 +166,7 @@ namespace BlackGui
|
||||
const QPointer<CInterpolationSetupComponent> myself(this);
|
||||
QTimer::singleShot(250, this, [ = ]
|
||||
{
|
||||
if (myself.isNull()) { return; }
|
||||
if (!myself) { return; }
|
||||
this->displaySetupsPerCallsign();
|
||||
});
|
||||
}
|
||||
@@ -186,7 +186,7 @@ namespace BlackGui
|
||||
const QPointer<CInterpolationSetupComponent> myself(this);
|
||||
QTimer::singleShot(100, this, [ = ]
|
||||
{
|
||||
if (myself.isNull()) { return; }
|
||||
if (!myself) { return; }
|
||||
this->displaySetupsPerCallsign();
|
||||
});
|
||||
}
|
||||
@@ -220,7 +220,7 @@ namespace BlackGui
|
||||
{
|
||||
if (showOverlay)
|
||||
{
|
||||
const CStatusMessage m = CStatusMessage(this).validationError("No simulator avialable");
|
||||
const CStatusMessage m = CStatusMessage(this).validationError("No simulator available");
|
||||
this->showOverlayMessage(m);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user