forked from qt-creator/qt-creator
VcsCommand: Get rid of abort()
Use destructor of VcsCommand instead. Change-Id: Ie914d016c6d3d57a88674ce8534d5edec4bc79c1 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -1387,7 +1387,7 @@ VcsBaseEditorConfig *VcsBaseEditorWidget::editorConfig() const
|
||||
void VcsBaseEditorWidget::setCommand(VcsCommand *command)
|
||||
{
|
||||
if (d->m_command) {
|
||||
d->m_command->abort();
|
||||
delete d->m_command;
|
||||
hideProgressIndicator();
|
||||
}
|
||||
d->m_command = command;
|
||||
|
||||
Reference in New Issue
Block a user