summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-01-29 00:15:40 +0530
committerJedi18 <targetakhil@gmail.com>2021-01-29 00:15:40 +0530
commit195bb0499bd8515517be8c9a6bab00a45bfc8dc5 (patch)
tree5db79365bc88765d045c87eb5749ce381f5e7ca9 /src/ui
parentShifted fetching of global username fom timeline model to user profile (diff)
downloadnheko-195bb0499bd8515517be8c9a6bab00a45bfc8dc5.tar.xz
fix linting 2
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/UserProfile.cpp4
-rw-r--r--src/ui/UserProfile.h2
2 files changed, 3 insertions, 3 deletions
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 <mtx/responses/common.hpp> #include <mtx/responses.hpp> +#include <mtx/responses/common.hpp> 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);