refactor: Fix clang-tidy modernize-return-braced-init-list

This commit is contained in:
Lars Toenning
2025-10-10 23:43:20 +02:00
parent 8f946b77d5
commit e09413614a
195 changed files with 724 additions and 690 deletions

View File

@@ -79,7 +79,7 @@ namespace swift::gui::models
QVariant CListModelBase<T, UseCompare>::data(const QModelIndex &index, int role) const
{
// check / init
if (!this->isValidIndex(index)) { return QVariant(); }
if (!this->isValidIndex(index)) { return {}; }
if (role == Qt::BackgroundRole) { return CListModelBaseNonTemplate::data(index, role); }