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:
Jarek Kobus
2023-08-02 11:45:36 +02:00
parent 224e4eeb59
commit 88926ed1a8
8 changed files with 14 additions and 16 deletions

View File

@@ -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()