fix linting 2

This commit is contained in:
Jedi18 2021-01-29 00:15:40 +05:30
parent fa7ad4f234
commit 195bb0499b
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@
#include "mtx/responses/crypto.hpp" #include "mtx/responses/crypto.hpp"
#include "timeline/TimelineModel.h" #include "timeline/TimelineModel.h"
#include "timeline/TimelineViewManager.h" #include "timeline/TimelineViewManager.h"
#include <mtx/responses/common.hpp>
#include <mtx/responses.hpp> #include <mtx/responses.hpp>
#include <mtx/responses/common.hpp>
UserProfile::UserProfile(QString roomid, UserProfile::UserProfile(QString roomid,
QString userid, QString userid,
@ -304,7 +304,7 @@ UserProfile::isUsernameEditingAllowed() const
} }
void void
UserProfile::setGlobalUsername(const QString& globalUser) UserProfile::setGlobalUsername(const QString &globalUser)
{ {
globalUsername = globalUser; globalUsername = globalUser;
emit displayNameChanged(); emit displayNameChanged();

View File

@ -121,7 +121,7 @@ signals:
void userStatusChanged(); void userStatusChanged();
void usernameEditingChanged(); void usernameEditingChanged();
void displayNameChanged(); void displayNameChanged();
void globalUsernameRetrieved(const QString& globalUser); void globalUsernameRetrieved(const QString &globalUser);
protected slots: protected slots:
void setGlobalUsername(const QString &globalUser); void setGlobalUsername(const QString &globalUser);