Change to a QSharedPointer and also delete cpp's for interfaces since they are not QObjects.

Took 6 minutes
This commit is contained in:
Lukas Brübach 2025-09-28 19:20:24 +02:00
parent b288c0e5f6
commit 38e41148f3
9 changed files with 8 additions and 11 deletions

View file

@ -12,7 +12,7 @@ public:
{
// Replace querier with one that ignores SettingsCache
delete querier;
querier = new CardDatabaseQuerier(this, this, std::make_shared<NoopCardPreferenceProvider>());
querier = new CardDatabaseQuerier(this, this, QSharedPointer<NoopCardPreferenceProvider>::create());
};
LoadStatus loadCardDatabase(const QString &path)