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:
parent
0f18fa9546
commit
8dd1e39ea9
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue