Commit 0a402aec authored by Tobias Hunger's avatar Tobias Hunger

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: default avatarJarek Kobus <jaroslaw.kobus@theqtcompany.com>
parent d195807c
......@@ -877,11 +877,6 @@ void SideBySideDiffEditorWidget::setDiffEditorGuiController(
}
}
DiffEditorGuiController *SideBySideDiffEditorWidget::diffEditorGuiController() const
{
return m_guiController;
}
void SideBySideDiffEditorWidget::clear(const QString &message)
{
const bool oldIgnore = m_ignoreCurrentIndexChange;
......
......@@ -58,7 +58,6 @@ public:
explicit SideBySideDiffEditorWidget(QWidget *parent = 0);
void setDiffEditorGuiController(DiffEditorGuiController *controller);
DiffEditorGuiController *diffEditorGuiController() const;
private slots:
void clear(const QString &message = QString());
......
......@@ -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();
......
......@@ -60,7 +60,6 @@ public:
UnifiedDiffEditorWidget(QWidget *parent = 0);
void setDiffEditorGuiController(DiffEditorGuiController *controller);
DiffEditorGuiController *diffEditorGuiController() const;
public slots:
void setDisplaySettings(const TextEditor::DisplaySettings &ds);
......
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