Git: Simplify editor code a bit

* Introduce a const submitEditorWidget() and use it
* Directly use layout from ui

Change-Id: Ib566bab464d4f1c08a3f2af0edb5e1fa989c3160
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-04-30 20:52:46 +03:00
committed by Orgad Shaneh
parent 633c11d184
commit cb055c1d0f
4 changed files with 10 additions and 6 deletions

View File

@@ -71,6 +71,7 @@ private slots:
private:
inline GitSubmitEditorWidget *submitEditorWidget();
inline const GitSubmitEditorWidget *submitEditorWidget() const;
VcsBase::SubmitFileModel *m_model;
QString m_commitEncoding;