forked from qt-creator/qt-creator
Git: Fix crash when returning to commit editor from diff
The crash happens on Linux/Xming. 2 subsequents calls to slotRefreshCommitData occur, m_commitDataFetcher is released when the first one is handled, and the second call dereferences NULL. Change-Id: Ibc06fe5dd89b790ac84544f6842cbf345d118703 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4dd200259f
commit
ed02e7f3c5
@@ -583,6 +583,11 @@ void SubmitEditorWidget::setUpdateInProgress(bool value)
|
||||
updateSubmitAction();
|
||||
}
|
||||
|
||||
bool SubmitEditorWidget::updateInProgress() const
|
||||
{
|
||||
return d->m_updateInProgress;
|
||||
}
|
||||
|
||||
QString SubmitEditorWidget::commitName() const
|
||||
{
|
||||
return tr("&Commit");
|
||||
|
||||
Reference in New Issue
Block a user