VC: fix version control for directory caching

Amends 42377c21e4

Change-Id: Ie38e0e823e9654aaebcddd85946cc6f2f6d4e67b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2024-10-18 13:29:29 +02:00
parent 0656e1d3ab
commit 35bdeffa20

View File

@@ -223,7 +223,7 @@ IVersionControl* VcsManager::findVersionControlForDirectory(const FilePath &inpu
}
// Register Vcs(s) with the cache
FilePath tmpDir = directory.absolutePath();
FilePath tmpDir = directory.absoluteFilePath();
#if defined WITH_TESTS
// Force caching of test directories (even though they do not exist):
if (directory.startsWith(TEST_PREFIX))