forked from qt-creator/qt-creator
Core: Change IEditor::document() to const
All the implementations are const. Change-Id: Ib9753fe764dd482d4f4392eec70878d42edc737a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
4b42789bda
commit
1486359251
@@ -350,7 +350,7 @@ void VcsBaseSubmitEditor::setLineWrapWidth(int w)
|
||||
d->m_widget->setLineWrapWidth(w);
|
||||
}
|
||||
|
||||
Core::IDocument *VcsBaseSubmitEditor::document()
|
||||
Core::IDocument *VcsBaseSubmitEditor::document() const
|
||||
{
|
||||
return d->m_file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user