forked from qt-creator/qt-creator
DiffEditor: Remove unused methods
The guicontroller is managed by the diffeditor, which is the only one able to access these objects, so there is no need to ever return the pointer. Change-Id: I6388a78bcadae67dae669bf7e96298444983c3e8 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
This commit is contained in:
@@ -165,11 +165,6 @@ void UnifiedDiffEditorWidget::restoreStateRequested()
|
||||
m_state.clear();
|
||||
}
|
||||
|
||||
DiffEditorGuiController *UnifiedDiffEditorWidget::diffEditorGuiController() const
|
||||
{
|
||||
return m_guiController;
|
||||
}
|
||||
|
||||
void UnifiedDiffEditorWidget::setDisplaySettings(const DisplaySettings &ds)
|
||||
{
|
||||
DisplaySettings settings = displaySettings();
|
||||
|
||||
Reference in New Issue
Block a user