diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-07-04 04:24:28 +0200 |
---|---|---|
committer | CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> | 2020-07-30 22:10:27 +0530 |
commit | 08028d5c57d134fb3d0ca9004730f0b2c99e5e67 (patch) | |
tree | 1268c0d9fdfd47966fb386028098ce6634195479 /src/timeline/TimelineModel.cpp | |
parent | Some issue with UserProfile (diff) | |
download | nheko-08028d5c57d134fb3d0ca9004730f0b2c99e5e67.tar.xz |
Refactor UserProfile
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index f41e7712..773a5a23 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -654,9 +654,9 @@ TimelineModel::viewDecryptedRawMessage(QString id) const } void -TimelineModel::openUserProfile(QString userid) const +TimelineModel::openUserProfile(QString userid) { - MainWindow::instance()->openUserProfile(userid, room_id_); + emit openProfile(new UserProfile(room_id_, userid, this)); } void |