mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
3be498a347
commit
d5a81a349b
@@ -63,6 +63,7 @@ namespace BlackCore
|
||||
void weatherGridReceived(const BlackMisc::Weather::CWeatherGrid &weatherGrid, const BlackMisc::CIdentifier &identifier);
|
||||
|
||||
private:
|
||||
//! Pending weather request
|
||||
struct WeatherRequest
|
||||
{
|
||||
QString filePath;
|
||||
@@ -72,7 +73,6 @@ namespace BlackCore
|
||||
};
|
||||
|
||||
bool loadWeatherDataPlugins();
|
||||
|
||||
void fetchNextWeatherData();
|
||||
void handleNextRequest();
|
||||
|
||||
|
||||
@@ -52,9 +52,9 @@ namespace BlackGui
|
||||
CArtifact CUpdateInfoComponent::getLatestAvailablePilotClientArtifactForSelection() const
|
||||
{
|
||||
const CUpdateInfo info = m_updateInfo.get();
|
||||
const CPlatform p = this->getSelectedOrDefaultPlatform();
|
||||
const CDistribution d = this->getSelectedOrDefaultDistribution();
|
||||
const CArtifact a = info.getArtifactsPilotClient().findByDistributionAndPlatform(d, p, true).getLatestArtifactOrDefault();
|
||||
const CPlatform p = this->getSelectedOrDefaultPlatform();
|
||||
const CDistribution d = this->getSelectedOrDefaultDistribution();
|
||||
const CArtifact a = info.getArtifactsPilotClient().findByDistributionAndPlatform(d, p, true).getLatestArtifactOrDefault();
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
@@ -757,7 +757,7 @@ namespace BlackMisc
|
||||
|
||||
// info
|
||||
const QString simObjDirs = joinStringSet(simObjectDirs, ", ");
|
||||
msgs.push_back(CStatusMessage(getLogCategories()).validationInfo(u"Validating %1 models against %2 SimObject paths: '%3'") << models.size() << simObjectDirs.size() << simObjDirs);
|
||||
msgs.push_back(CStatusMessage(getLogCategories()).validationInfo(u"Validating %1 models against %2 SimObjects path(s): '%3'") << models.size() << simObjectDirs.size() << simObjDirs);
|
||||
|
||||
// validate
|
||||
int failed = 0;
|
||||
@@ -781,7 +781,7 @@ namespace BlackMisc
|
||||
CAircraftModelList::addAsValidOrInvalidModel(model, ok, validModels, invalidModels);
|
||||
if (!ok)
|
||||
{
|
||||
msgs.push_back(CStatusMessage(getLogCategories()).validationWarning(u"Model '%1' '%2' in none of the %3 paths") << model.getModelString() << model.getFileName() << simObjectDirs.size());
|
||||
msgs.push_back(CStatusMessage(getLogCategories()).validationWarning(u"Model '%1' '%2' in none of the %3 SimObjects path(s)") << model.getModelString() << model.getFileName() << simObjectDirs.size());
|
||||
failed++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user