Skip to content

Commit

Permalink
Fix CrateStorage::getAncestorIds
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7pt0gr4ph7 committed Oct 15, 2024
1 parent 27fb8c0 commit 64b2534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/trackset/crate/cratestorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ CrateFolderSummaryQueryFields::CrateFolderSummaryQueryFields(const FwdSqlQuery&

QList<CrateFolderId> CrateFolderSummaryQueryFields::getAncestorIds(const FwdSqlQuery& query) const {
QList<CrateFolderId> result;
for (QString id : query.fieldValue(m_iAncestorIds)
for (const QString& id : query.fieldValue(m_iAncestorIds)
.toString()
.split(kSqlListSeparator, Qt::KeepEmptyParts)) {
if (id.isEmpty()) {
Expand Down

0 comments on commit 64b2534

Please sign in to comment.