fix: ReplyThreadPopup now requires a split as its parent (#5036)

Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
pajlada
2023-12-17 14:16:40 +01:00
committed by GitHub
parent 5dd8c1c88a
commit 0395b692e4
4 changed files with 12 additions and 8 deletions
+2 -4
View File
@@ -2917,10 +2917,8 @@ void ChannelView::showReplyThreadPopup(const MessagePtr &message)
return;
}
auto *popupParent =
static_cast<QWidget *>(&(getApp()->windows->getMainWindow()));
auto *popup = new ReplyThreadPopup(getSettings()->autoCloseThreadPopup,
popupParent, this->split_);
auto *popup =
new ReplyThreadPopup(getSettings()->autoCloseThreadPopup, this->split_);
popup->setThread(message->replyThread);