forked from qt-creator/qt-creator
TextEditor: Remove RefactoringChanges::createFile()
Dissolve into only caller. Change-Id: I2eaac8bf31c0ecd2dfb863b7fae79af557ccad95 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -166,7 +166,7 @@ public:
|
||||
const bool reindent = true;
|
||||
const bool openEditor = false;
|
||||
const Utils::FilePath newFilePath = newFileName;
|
||||
if (!refactoring.createFile(newFileName, newComponentSource, reindent, openEditor))
|
||||
if (!refactoring.file(newFileName)->create(newComponentSource, reindent, openEditor))
|
||||
return;
|
||||
|
||||
if (path.toString() == currentFileName.toFileInfo().path()) {
|
||||
|
||||
Reference in New Issue
Block a user