diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp index df404494..e2adffcd 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp @@ -7,8 +7,8 @@ #include "mtx/responses/crypto.hpp" #include "timeline/TimelineModel.h" #include "timeline/TimelineViewManager.h" -#include #include +#include UserProfile::UserProfile(QString roomid, QString userid, @@ -304,7 +304,7 @@ UserProfile::isUsernameEditingAllowed() const } void -UserProfile::setGlobalUsername(const QString& globalUser) +UserProfile::setGlobalUsername(const QString &globalUser) { globalUsername = globalUser; emit displayNameChanged(); diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h index 2a674732..5ccb54b3 100644 --- a/src/ui/UserProfile.h +++ b/src/ui/UserProfile.h @@ -121,7 +121,7 @@ signals: void userStatusChanged(); void usernameEditingChanged(); void displayNameChanged(); - void globalUsernameRetrieved(const QString& globalUser); + void globalUsernameRetrieved(const QString &globalUser); protected slots: void setGlobalUsername(const QString &globalUser);