Core: Use FilePath to track document entries

Change-Id: Iba11a412067215109a1be4579620ebf80c8c2da1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-06-11 10:08:28 +02:00
parent b6f6ce9753
commit d2c1fa6b2d
4 changed files with 18 additions and 17 deletions

View File

@@ -78,6 +78,7 @@ public:
// helper functions
static QString cleanAbsoluteFilePath(const QString &filePath, ResolveMode resolveMode);
static QString filePathKey(const QString &filePath, ResolveMode resolveMode);
static Utils::FilePath filePathKey(const Utils::FilePath &filePath, ResolveMode resolveMode);
static bool saveDocument(IDocument *document,
const Utils::FilePath &filePath = Utils::FilePath(),