mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Typos, QStringBuilder
This commit is contained in:
@@ -158,7 +158,7 @@ namespace BlackMisc
|
||||
//! \threadsafe
|
||||
virtual QDateTime getCacheTimestamp(const BlackMisc::Simulation::CSimulatorInfo &simulator) const = 0;
|
||||
|
||||
//! Initilaized caches for which simulator
|
||||
//! Initialized caches for which simulator?
|
||||
//! \threadsafe
|
||||
BlackMisc::Simulation::CSimulatorInfo simulatorsWithInitializedCache() const;
|
||||
|
||||
|
||||
@@ -74,6 +74,7 @@ namespace BlackMisc
|
||||
});
|
||||
if (!CBuildConfig::isShippedVersion())
|
||||
{
|
||||
// developer directories
|
||||
someDefaultDirs.push_back("P:/FSX (MSI)");
|
||||
}
|
||||
return CFileUtils::findFirstExisting(someDefaultDirs);
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <QMap>
|
||||
#include <QRegularExpression>
|
||||
#include <QTextStream>
|
||||
#include <QStringBuilder>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
@@ -127,11 +128,10 @@ namespace BlackMisc
|
||||
|
||||
QString CAircraftModelLoaderXPlane::CSLPlane::getModelName() const
|
||||
{
|
||||
QString modelName = dirNames.join(' ');
|
||||
modelName += " ";
|
||||
modelName += objectName;
|
||||
modelName += " ";
|
||||
modelName += textureName;
|
||||
const QString modelName =
|
||||
dirNames.join(' ') %
|
||||
QLatin1Char(' ') % objectName %
|
||||
QLatin1Char(' ') % textureName;
|
||||
return modelName;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user