Various Plugins: Simplify return QStringList statements

Change-Id: Id014225851e6b9f8436387c681bea42e5de3b797
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2023-08-01 21:26:29 +02:00
parent eb2b4b6cf3
commit 925bb2ca31
31 changed files with 44 additions and 45 deletions

View File

@@ -385,7 +385,7 @@ SubmitFileModel *VcsBaseSubmitEditor::fileModel() const
QStringList VcsBaseSubmitEditor::rowsToFiles(const QList<int> &rows) const
{
if (rows.empty())
return QStringList();
return {};
QStringList rc;
const SubmitFileModel *model = fileModel();