diff --git a/src/plugins/vcsbase/submiteditorwidget.cpp b/src/plugins/vcsbase/submiteditorwidget.cpp index 380525e1d14..65c245a14c4 100644 --- a/src/plugins/vcsbase/submiteditorwidget.cpp +++ b/src/plugins/vcsbase/submiteditorwidget.cpp @@ -477,7 +477,7 @@ void SubmitEditorWidget::diffActivated(const QModelIndex &index) // We need to delay the signal, otherwise, the diff editor will not // be in the foreground. d->m_activatedRow = index.row(); - QTimer::singleShot(0, this, SLOT(diffActivatedDelayed())); + QTimer::singleShot(0, this, &SubmitEditorWidget::diffActivatedDelayed); } void SubmitEditorWidget::updateActions() diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index cb1c238aba2..aeea85cd5c6 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -1395,7 +1395,7 @@ void VcsBaseEditorWidget::setCommand(VcsCommand *command) d->m_progressIndicator->attachToWidget(this); connect(d->m_command.data(), &VcsCommand::finished, this, &VcsBaseEditorWidget::hideProgressIndicator); - QTimer::singleShot(100, this, SLOT(showProgressIndicator())); + QTimer::singleShot(100, this, &VcsBaseEditorWidget::showProgressIndicator); } }