mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Change to a QSharedPointer and also delete cpp's for interfaces since they are not QObjects.
Took 6 minutes
This commit is contained in:
parent
b288c0e5f6
commit
38e41148f3
9 changed files with 8 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue