forked from qt-creator/qt-creator
VcsPlugin: Simplify return statements
Change-Id: Icdf580fb1ca6860a82f3594e4676fb450b55d174 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -487,7 +487,7 @@ QString VcsBaseSubmitEditor::promptForNickName()
|
||||
d->m_nickNameDialog = new NickNameDialog(VcsPlugin::instance()->nickNameModel(), d->m_widget);
|
||||
if (d->m_nickNameDialog->exec() == QDialog::Accepted)
|
||||
return d->m_nickNameDialog->nickName();
|
||||
return QString();
|
||||
return {};
|
||||
}
|
||||
|
||||
void VcsBaseSubmitEditor::slotInsertNickName()
|
||||
|
||||
Reference in New Issue
Block a user