forked from qt-creator/qt-creator
Refactor source property
Get rid of source property out of DiffEditorWidget, attach dynamic property when it's needed instead. Change-Id: I6641a7b55c42b4eceba78c2e28f5140b40fe0fa5 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -888,16 +888,6 @@ QTextCodec *DiffEditorWidget::codec() const
|
||||
return const_cast<QTextCodec *>(m_leftEditor->codec());
|
||||
}
|
||||
|
||||
QString DiffEditorWidget::source() const
|
||||
{
|
||||
return m_source;
|
||||
}
|
||||
|
||||
void DiffEditorWidget::setSource(const QString &source)
|
||||
{
|
||||
m_source = source;
|
||||
}
|
||||
|
||||
BaseTextEditorWidget *DiffEditorWidget::leftEditor() const
|
||||
{
|
||||
return m_leftEditor;
|
||||
|
||||
Reference in New Issue
Block a user