From 195bb0499bd8515517be8c9a6bab00a45bfc8dc5 Mon Sep 17 00:00:00 2001 From: Jedi18 Date: Fri, 29 Jan 2021 00:15:40 +0530 Subject: [PATCH] fix linting 2 --- src/ui/UserProfile.cpp | 4 ++-- src/ui/UserProfile.h | 2 +- 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 #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);