Core: Use FilePath in ExternalEditor interface

Change-Id: If3360eb7db9cec373551c2eb0fcffaf3bc5460e6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-05-25 07:05:32 +02:00
parent ce04dcdcf2
commit 2ccf5e2795
8 changed files with 27 additions and 23 deletions

View File

@@ -948,7 +948,7 @@ void MainWindow::openFileWith()
if (!editorId.isValid())
continue;
if (isExternal)
EditorManager::openExternalEditor(fileName, editorId);
EditorManager::openExternalEditor(FilePath::fromString(fileName), editorId);
else
EditorManagerPrivate::openEditorWith(FilePath::fromString(fileName), editorId);
}