mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 04:28:49 +03:00
run lint
This commit is contained in:
parent
838cf63578
commit
af17e4f8c0
2 changed files with 3 additions and 3 deletions
|
@ -199,12 +199,12 @@ TimelineViewManager::openGlobalUserProfile(QString userId)
|
||||||
emit openProfile(profile);
|
emit openProfile(profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
UserProfile*
|
UserProfile *
|
||||||
TimelineViewManager::getGlobalUserProfile(QString userId)
|
TimelineViewManager::getGlobalUserProfile(QString userId)
|
||||||
{
|
{
|
||||||
UserProfile *profile = new UserProfile{QString{}, userId, this};
|
UserProfile *profile = new UserProfile{QString{}, userId, this};
|
||||||
QQmlEngine::setObjectOwnership(profile, QQmlEngine::JavaScriptOwnership);
|
QQmlEngine::setObjectOwnership(profile, QQmlEngine::JavaScriptOwnership);
|
||||||
return(profile);
|
return (profile);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -67,7 +67,7 @@ public:
|
||||||
Q_INVOKABLE void openRoomSettings(QString room_id);
|
Q_INVOKABLE void openRoomSettings(QString room_id);
|
||||||
Q_INVOKABLE void openInviteUsers(QString roomId);
|
Q_INVOKABLE void openInviteUsers(QString roomId);
|
||||||
Q_INVOKABLE void openGlobalUserProfile(QString userId);
|
Q_INVOKABLE void openGlobalUserProfile(QString userId);
|
||||||
Q_INVOKABLE UserProfile* getGlobalUserProfile(QString userId);
|
Q_INVOKABLE UserProfile *getGlobalUserProfile(QString userId);
|
||||||
|
|
||||||
Q_INVOKABLE void focusMessageInput();
|
Q_INVOKABLE void focusMessageInput();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue