Core: filepathify expected document changes

Change-Id: Ifa9341e55c79459db9ecef3c441da9b2816695bf
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-06-09 09:59:37 +02:00
parent 072958c3b0
commit 410b02f8c5
19 changed files with 60 additions and 53 deletions

View File

@@ -65,8 +65,8 @@ public:
static void renamedFile(const QString &from, const QString &to);
static void expectFileChange(const QString &fileName);
static void unexpectFileChange(const QString &fileName);
static void expectFileChange(const Utils::FilePath &filePath);
static void unexpectFileChange(const Utils::FilePath &filePath);
// recent files
static void addToRecentFiles(const Utils::FilePath &filePath, Utils::Id editorId = {});
@@ -172,10 +172,10 @@ private:
class CORE_EXPORT FileChangeBlocker
{
public:
explicit FileChangeBlocker(const QString &fileName);
explicit FileChangeBlocker(const Utils::FilePath &filePath);
~FileChangeBlocker();
private:
const QString m_fileName;
const Utils::FilePath m_filePath;
Q_DISABLE_COPY(FileChangeBlocker)
};