update deprecated methods in qt5.14 and protobuf 3.4 (#3906)

This commit is contained in:
ebbit1q 2020-03-17 01:41:41 +01:00 committed by GitHub
parent 361833e023
commit a80c756dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 74 additions and 37 deletions

View file

@ -573,7 +573,7 @@ QStringList CardDatabase::getAllMainCardTypes() const
while (cardIterator.hasNext()) {
types.insert(cardIterator.next().value()->getMainCardType());
}
return types.toList();
return types.values();
}
void CardDatabase::checkUnknownSets()
@ -699,4 +699,4 @@ const QString CardInfo::getPowTough() const
void CardInfo::setPowTough(const QString &value)
{
setProperty(Mtg::PowTough, value);
}
}