mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Support MTGJSONv5 format in Oracle downloader (#4162)
* Fix #4043, Support MTGJSONv5 format in Oracle downloader * Auto redirect V4 downloads to V5, as we won't support V4 after this change * clangify >_> * Remove null values and account for IDs missing * fix split cards and double faced cards somewhat * do not consider double faced cards duplicates * fix promo double sided cards * typo * fix alternative versions of cards with (letter) * zach says this is more readable * pre qt 5.10 compatibility Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
f3cf1f0dde
commit
9f9581c2be
5 changed files with 118 additions and 76 deletions
|
|
@ -113,7 +113,7 @@ protected:
|
|||
void initializePage() override;
|
||||
bool validatePage() override;
|
||||
void readSetsFromByteArray(QByteArray data);
|
||||
void downloadSetsFile(QUrl url);
|
||||
void downloadSetsFile(const QUrl &url);
|
||||
|
||||
private:
|
||||
QRadioButton *urlRadioButton;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue