mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-24 09:44:31 -05:00
support mtgo .dek files (#3889)
* support mtgo .dek files they use plain text internally so we just need to reveal them in the load dialog * formatting
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
#include <QFile>
|
||||
#include <QStringList>
|
||||
|
||||
const QStringList DeckLoader::fileNameFilters =
|
||||
QStringList() << QObject::tr("Common deck formats (*.cod *.dec *.txt *.mwDeck)") << QObject::tr("All files (*.*)");
|
||||
const QStringList DeckLoader::fileNameFilters = QStringList()
|
||||
<< QObject::tr("Common deck formats (*.cod *.dec *.dek *.txt *.mwDeck)")
|
||||
<< QObject::tr("All files (*.*)");
|
||||
|
||||
DeckLoader::DeckLoader() : DeckList(), lastFileName(QString()), lastFileFormat(CockatriceFormat), lastRemoteDeckId(-1)
|
||||
{
|
||||
@@ -295,4 +296,4 @@ QString DeckLoader::getCompleteCardName(const QString cardName) const
|
||||
}
|
||||
|
||||
return cardName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user