forked from qt-creator/qt-creator
Core: filepathify expected document changes
Change-Id: Ifa9341e55c79459db9ecef3c441da9b2816695bf Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1118,7 +1118,7 @@ void GitPluginPrivate::undoFileChanges(bool revertStaging)
|
||||
}
|
||||
const VcsBasePluginState state = currentState();
|
||||
QTC_ASSERT(state.hasFile(), return);
|
||||
FileChangeBlocker fcb(state.currentFile());
|
||||
FileChangeBlocker fcb(Utils::FilePath::fromString(state.currentFile()));
|
||||
m_gitClient.revert({state.currentFile()}, revertStaging);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user