VcsBase: Make the description directly available in Submit Editor

Make the description directly available to subclasses of the submit
editor.

Change-Id: Ieb6f99091fdcb6f794491169e637bec53a04dacb
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-02-20 09:54:49 +01:00
parent 541dde7ecc
commit 16f9e10e72
3 changed files with 16 additions and 3 deletions

View File

@@ -276,7 +276,7 @@ QString GitSubmitEditor::amendSHA1() const
QByteArray GitSubmitEditor::fileContents() const
{
const QString &text = submitEditorWidget()->descriptionText();
const QString &text = description();
// Do the encoding convert, When use user-defined encoding
// e.g. git config --global i18n.commitencoding utf-8