forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user