From 19dc6cadea0168f72daff7c0ed679ccdac71a7d5 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 29 Dec 2021 06:01:38 +0100 Subject: Reserve size of some containers we are filling --- src/ui/NhekoGlobalObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/NhekoGlobalObject.cpp') diff --git a/src/ui/NhekoGlobalObject.cpp b/src/ui/NhekoGlobalObject.cpp index b6122ac9..56c0d9f0 100644 --- a/src/ui/NhekoGlobalObject.cpp +++ b/src/ui/NhekoGlobalObject.cpp @@ -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(); -- cgit 1.5.1