diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-28 22:14:59 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-05-28 22:14:59 +0200 |
commit | 298822baeaffdc83386e003099e34819bcd7d18c (patch) | |
tree | 1caa2bc8475385b1743c9c82a8d98caae3e374fb /src/ui/NhekoDropArea.cpp | |
parent | Reimplement room context menus (diff) | |
download | nheko-298822baeaffdc83386e003099e34819bcd7d18c.tar.xz |
Move currentRoom/timeline handling to roomlist
Diffstat (limited to '')
-rw-r--r-- | src/ui/NhekoDropArea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/NhekoDropArea.cpp b/src/ui/NhekoDropArea.cpp index 54f48d3c..bbcedd7e 100644 --- a/src/ui/NhekoDropArea.cpp +++ b/src/ui/NhekoDropArea.cpp @@ -35,7 +35,7 @@ void NhekoDropArea::dropEvent(QDropEvent *event) { if (event) { - auto model = ChatPage::instance()->timelineManager()->getHistoryView(roomid_); + auto model = ChatPage::instance()->timelineManager()->rooms()->getRoomById(roomid_); if (model) { model->input()->insertMimeData(event->mimeData()); } |