Consolidate accepted decklist file extensions (#5749)

* Consolidate accepted decklist file extensions

* rename the other const
This commit is contained in:
RickyRister 2025-03-18 18:53:14 -07:00 committed by GitHub
parent 42301d4f1a
commit 0fa744f6ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 17 additions and 7 deletions

View file

@ -355,7 +355,7 @@ bool AbstractTabDeckEditor::actSaveDeckAs()
dialog.setDirectory(SettingsCache::instance().getDeckPath());
dialog.setAcceptMode(QFileDialog::AcceptSave);
dialog.setDefaultSuffix("cod");
dialog.setNameFilters(DeckLoader::fileNameFilters);
dialog.setNameFilters(DeckLoader::FILE_NAME_FILTERS);
dialog.selectFile(getDeckList()->getName().trimmed());
if (!dialog.exec())
return false;