From fade19a9bfb89b791d9a64dd3e43441a5861e40c Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 15 Jul 2013 15:14:10 +0200 Subject: Move IEditor::createNew to IDocument::setContents The method is for setting the contents, so it belongs to the document, and should be named correspondingly. Change-Id: I40363dc08f11268f530885b512e4a88e8b10d096 Reviewed-by: Friedemann Kleint Reviewed-by: Eike Ziller --- src/plugins/diffeditor/diffeditor.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/plugins/diffeditor/diffeditor.cpp') diff --git a/src/plugins/diffeditor/diffeditor.cpp b/src/plugins/diffeditor/diffeditor.cpp index d51c44997f..4d06370d87 100644 --- a/src/plugins/diffeditor/diffeditor.cpp +++ b/src/plugins/diffeditor/diffeditor.cpp @@ -67,12 +67,6 @@ DiffEditor::~DiffEditor() delete m_widget; } -bool DiffEditor::createNew(const QString &contents) -{ - Q_UNUSED(contents) - return true; -} - bool DiffEditor::open(QString *errorString, const QString &fileName, const QString &realFileName) { Q_UNUSED(errorString) -- cgit v1.2.1