Change set to list conversion.

This commit is contained in:
Lukas Brübach 2024-12-29 18:19:36 +01:00
parent 1d093d62b5
commit 50f7916f9c

View file

@ -840,7 +840,10 @@ void TabDeckEditor::updateBannerCardComboBox()
} }
// Convert the QSet to a sorted QStringList // Convert the QSet to a sorted QStringList
QStringList bannerCardChoices = QStringList(bannerCardSet.begin(), bannerCardSet.end()); QStringList bannerCardChoices;
for (const QString &entry : bannerCardSet) {
bannerCardChoices.append(entry);
}
bannerCardChoices.sort(Qt::CaseInsensitive); bannerCardChoices.sort(Qt::CaseInsensitive);
// Populate the combo box with new items // Populate the combo box with new items