fix: ReplyThreadPopup now requires a split as its parent (#5036)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user