Reduce allocations using QStringLiteral
This commit is contained in:
parent
a3c4ebc460
commit
d8ead9573b
46 changed files with 539 additions and 539 deletions
|
|
@ -29,7 +29,7 @@ Nheko::updateUserProfile()
|
|||
{
|
||||
if (cache::client() && cache::client()->isInitialized())
|
||||
currentUser_.reset(
|
||||
new UserProfile("", utils::localUser(), ChatPage::instance()->timelineManager()));
|
||||
new UserProfile(QLatin1String(""), utils::localUser(), ChatPage::instance()->timelineManager()));
|
||||
else
|
||||
currentUser_.reset();
|
||||
emit profileChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue