mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
Change set to list conversion.
This commit is contained in:
parent
1d093d62b5
commit
50f7916f9c
1 changed files with 4 additions and 1 deletions
|
|
@ -840,7 +840,10 @@ void TabDeckEditor::updateBannerCardComboBox()
|
|||
}
|
||||
|
||||
// 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);
|
||||
|
||||
// Populate the combo box with new items
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue