mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Don't queue connection (#6842)
Took 5 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
d30690236a
commit
7c9fbe2be0
1 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue