summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-03-26 22:28:31 +0100
committerMalte E <malte.e@mailbox.org>2022-03-26 22:28:31 +0100
commitaf17e4f8c007d8276f98fd675cbfe818d24e7420 (patch)
tree744425f01001b8951b4d058b30ec3bc4d06b1019 /src
parentdirect chat creator can now create direct chats (diff)
downloadnheko-af17e4f8c007d8276f98fd675cbfe818d24e7420.tar.xz
run lint
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineViewManager.cpp4
-rw-r--r--src/timeline/TimelineViewManager.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index 72f89fd4..3bccd8f3 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -199,12 +199,12 @@ TimelineViewManager::openGlobalUserProfile(QString userId) emit openProfile(profile); } -UserProfile* +UserProfile * TimelineViewManager::getGlobalUserProfile(QString userId) { UserProfile *profile = new UserProfile{QString{}, userId, this}; QQmlEngine::setObjectOwnership(profile, QQmlEngine::JavaScriptOwnership); - return(profile); + return (profile); } void diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h
index 807fe76f..07ebfe79 100644 --- a/src/timeline/TimelineViewManager.h +++ b/src/timeline/TimelineViewManager.h
@@ -67,7 +67,7 @@ public: Q_INVOKABLE void openRoomSettings(QString room_id); Q_INVOKABLE void openInviteUsers(QString roomId); Q_INVOKABLE void openGlobalUserProfile(QString userId); - Q_INVOKABLE UserProfile* getGlobalUserProfile(QString userId); + Q_INVOKABLE UserProfile *getGlobalUserProfile(QString userId); Q_INVOKABLE void focusMessageInput();