forked from qt-creator/qt-creator
Vcs: Use more FilePath for file paths
Change-Id: I855cde65d034a9647972a7fddf1e8266d7ccfa88 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -201,7 +201,7 @@ bool FileUtils::renameFile(const FilePath &orgFilePath, const FilePath &newFileP
|
||||
return false;
|
||||
|
||||
FilePath dir = orgFilePath.absolutePath();
|
||||
IVersionControl *vc = VcsManager::findVersionControlForDirectory(dir.toString());
|
||||
IVersionControl *vc = VcsManager::findVersionControlForDirectory(dir);
|
||||
|
||||
bool result = false;
|
||||
if (vc && vc->supportsOperation(IVersionControl::MoveOperation))
|
||||
|
||||
Reference in New Issue
Block a user