mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Ref T348, util function to correct FSX/P3D model path
Related: Ref T317 Ref T247 Ref T335
This commit is contained in:
@@ -79,9 +79,12 @@ namespace BlackMisc
|
||||
//! \sa CNetworkUtils::buildUrl for URLs
|
||||
static QString appendFilePathsAndFixUnc(const QString &path1, const QString &path2, const QString &path3);
|
||||
|
||||
//! Strip file from path a/b/c.json a/b
|
||||
//! Strip file from path a/b/c.json a/b, return path
|
||||
static QString stripFileFromPath(const QString &path);
|
||||
|
||||
//! Last path segment a/b/c => c
|
||||
static QString lastPathSegment(const QString &path);
|
||||
|
||||
//! Normalize file path to Qt standard, e.g by turning \ to /
|
||||
static QString normalizeFilePathToQtStandard(const QString &filePath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user