forked from qt-creator/qt-creator
TextEditor: Use FilePath in Command
Change-Id: I0916204eefb49713f241dd43da662f258f8c99f7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -244,7 +244,7 @@ void QmlJSEditorPluginPrivate::reformatFile()
|
||||
QmlJsEditingSettings::get().formatCommandOptions());
|
||||
const CommandLine commandLine(exe, args, CommandLine::Raw);
|
||||
TextEditor::Command command;
|
||||
command.setExecutable(commandLine.executable().toString());
|
||||
command.setExecutable(commandLine.executable());
|
||||
command.setProcessing(TextEditor::Command::FileProcessing);
|
||||
command.addOptions(commandLine.splitArguments());
|
||||
command.addOption("--inplace");
|
||||
|
||||
Reference in New Issue
Block a user