Extend decklist parsing (#5316)

* Extend the decklist parsing from clipboard to also support SetName, CollectorNumber and Foil Status.

* Q_UNUSED foil for now but keep parsing logic for future PR's/compatibility.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2025-01-06 03:07:17 +01:00 committed by GitHub
parent cc16b8779c
commit 81b85e97df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 140 additions and 28 deletions

View file

@ -65,6 +65,7 @@ void DlgLoadDeckFromClipboard::actOK()
}
} else if (deckLoader->loadFromStream_Plain(stream)) {
deckList = deckLoader;
deckList->resolveSetNameAndNumberToProviderID();
accept();
} else {
QMessageBox::critical(this, tr("Error"), tr("Invalid deck list."));