mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-05-19 17:38:04 -05:00
Don't queue connection
Took 5 minutes
This commit is contained in:
parent
d30690236a
commit
f64ea8b01a
|
|
@ -65,11 +65,9 @@ void CardDatabase::reloadCardDatabasesAndNotify()
|
|||
{
|
||||
loadCardDatabases();
|
||||
|
||||
QMetaObject::Connection conn;
|
||||
conn = connect(this, &CardDatabase::cardDatabaseLoadingFinished, this, [conn, this]() mutable {
|
||||
if (loadStatus == Ok) {
|
||||
notifyEnabledSetsChanged();
|
||||
QObject::disconnect(conn);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
bool CardDatabase::saveCustomTokensToFile()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user