From 1ae9940b325f4c6ca908790b041674921fd97b12 Mon Sep 17 00:00:00 2001 From: Christian Kamm <christian.d.kamm@nokia.com> Date: Thu, 12 Aug 2010 14:26:30 +0200 Subject: [PATCH] QuickFix: Add a warning to RefactoringChanges::removeFile. --- src/plugins/texteditor/refactoringchanges.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp index 0d2d3a458c2..74fa69a3a8f 100644 --- a/src/plugins/texteditor/refactoringchanges.cpp +++ b/src/plugins/texteditor/refactoringchanges.cpp @@ -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); } -- GitLab