Fix build

Change-Id: I76c03a364a8b3d9734ced3c948997dcfb5c0e685
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2021-08-17 15:12:13 +02:00
committed by hjk
parent 8885ef7e5a
commit 20a4afaaa4

View File

@@ -176,7 +176,7 @@ void DiffEditorWidgetController::patch(bool revert, int fileIndex, int chunkInde
FileChangeBlocker fileChangeBlocker(absFilePath);
if (PatchTool::runPatch(EditorManager::defaultTextCodec()->fromUnicode(patch),
workingDirectory, strip, revert))
FilePath::fromString(workingDirectory), strip, revert))
m_document->reload();
} else { // PatchEditor
auto textDocument = qobject_cast<TextEditor::TextDocument *>(