mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Sort saved filters by name.
This commit is contained in:
parent
e7a6126fbd
commit
214edceb9a
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ void VisualDatabaseDisplayFilterSaveLoadWidget::refreshFilterList()
|
||||||
|
|
||||||
// Refresh the filter file list
|
// Refresh the filter file list
|
||||||
QDir dir(SettingsCache::instance().getFiltersPath());
|
QDir dir(SettingsCache::instance().getFiltersPath());
|
||||||
QStringList filterFiles = dir.entryList(QStringList() << "*.json", QDir::Files, QDir::Time);
|
QStringList filterFiles = dir.entryList(QStringList() << "*.json", QDir::Files, QDir::Name);
|
||||||
|
|
||||||
// Loop through the filter files and create widgets for them
|
// Loop through the filter files and create widgets for them
|
||||||
for (const QString &filename : filterFiles) {
|
for (const QString &filename : filterFiles) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue