Ref T348, style

This commit is contained in:
Klaus Basan
2018-09-14 00:13:06 +02:00
parent 13ebf6bafe
commit 849bc0b9d0
4 changed files with 30 additions and 30 deletions

View File

@@ -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;