DiffEditor: Remove a bit of fluff

Change-Id: Ie1b2df8eb336078ced59d1406020ae57d2b53682
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-01-30 11:18:08 +01:00
parent 063251ebbc
commit 250d8abe2d
7 changed files with 8 additions and 18 deletions

View File

@@ -263,8 +263,7 @@ DiffEditor::DiffEditor(const QSharedPointer<DiffEditorDocument> &doc)
DiffEditor::~DiffEditor()
{
delete m_toolBar;
if (m_widget)
delete m_widget;
delete m_widget;
}
Core::IEditor *DiffEditor::duplicate()