Simplify add card.

Took 25 minutes

Took 8 minutes

# Commit time for manual adjustment:
# Took 16 minutes

Took 7 seconds
This commit is contained in:
Lukas Brübach 2025-09-25 11:15:51 +02:00
parent 762ea47b8e
commit a406c5d958

View file

@ -110,9 +110,8 @@ LoadStatus CardDatabase::loadCardDatabases()
// find all custom card databases, recursively & following symlinks
// then load them alphabetically
auto customPaths = collectCustomDatabasePaths();
for (int i = 0, n = customPaths.size(); i < n; ++i) {
const auto &path = customPaths.at(i);
for (int i = 0, n = collectCustomDatabasePaths().size(); i < n; ++i) {
const auto &path = collectCustomDatabasePaths().at(i);
qCInfo(CardDatabaseLoadingLog) << "Loading Custom Set" << i << "(" << path << ")";
loadCardDatabase(path);
}
@ -366,6 +365,8 @@ SetList CardDatabase::getSetList() const
return result;
}
/**
* Finds the PrintingInfo in the cardInfo that has the given uuid field.
*