mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
* Fix #4706: Exit linting early if a card with the exact name is found first * Remove ampersand conversion * put back * Update tests * Format * don't use qsizetype --------- Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
42d1d66d9b
commit
4c290aec57
5 changed files with 28 additions and 24 deletions
|
|
@ -289,7 +289,7 @@ QString DeckLoader::getCardZoneFromName(QString cardName, QString currentZoneNam
|
|||
return currentZoneName;
|
||||
}
|
||||
|
||||
QString DeckLoader::getCompleteCardName(const QString cardName) const
|
||||
QString DeckLoader::getCompleteCardName(const QString &cardName) const
|
||||
{
|
||||
if (db) {
|
||||
CardInfoPtr temp = db->guessCard(cardName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue