Reserve size of some containers we are filling
This commit is contained in:
parent
812e3b5f03
commit
19dc6cadea
31 changed files with 317 additions and 209 deletions
|
|
@ -28,8 +28,8 @@ void
|
|||
Nheko::updateUserProfile()
|
||||
{
|
||||
if (cache::client() && cache::client()->isInitialized())
|
||||
currentUser_.reset(
|
||||
new UserProfile(QLatin1String(""), utils::localUser(), ChatPage::instance()->timelineManager()));
|
||||
currentUser_.reset(new UserProfile(
|
||||
QLatin1String(""), utils::localUser(), ChatPage::instance()->timelineManager()));
|
||||
else
|
||||
currentUser_.reset();
|
||||
emit profileChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue