Commit 1ae9940b authored by Christian Kamm's avatar Christian Kamm
Browse files

QuickFix: Add a warning to RefactoringChanges::removeFile.

parent 03b443b8
......@@ -132,7 +132,8 @@ bool RefactoringChanges::removeFile(const QString &fileName)
if (!QFile::exists(fileName))
return false;
// ### delete!
// ### implement!
qWarning() << "RefactoringChanges::removeFile is not implemented";
return true;
}
......@@ -224,7 +225,6 @@ RefactoringFile::~RefactoringFile()
const QByteArray &newContents = doc->toPlainText().toUtf8();
QFile file(m_fileName);
file.open(QFile::WriteOnly);
//file->resize(newContents.size()); // ### necessary?
file.write(newContents);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment