mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 03:37:47 +00:00
Fix avatars for accounts not loading
This is due to a mistake on my part, a signal needs to be called.
This commit is contained in:
parent
41a91a0295
commit
ec403a2fe7
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ void AccountManager::load()
|
||||||
const auto account = new Account(uuid, this);
|
const auto account = new Account(uuid, this);
|
||||||
m_accounts.append(account);
|
m_accounts.append(account);
|
||||||
Q_EMIT accountsChanged();
|
Q_EMIT accountsChanged();
|
||||||
|
Q_EMIT accountAdded(account);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -130,4 +131,4 @@ int AccountManager::numAccounts() const
|
||||||
return static_cast<int>(m_accounts.count());
|
return static_cast<int>(m_accounts.count());
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "moc_accountmanager.cpp"
|
#include "moc_accountmanager.cpp"
|
||||||
|
|
Loading…
Add table
Reference in a new issue