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
+4 -3
View File
@@ -24,11 +24,12 @@ const QString TEXT_TITLE("Reply Thread - @%1 in #%2");
namespace chatterino {
ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, QWidget *parent,
Split *split)
: DraggablePopup(closeAutomatically, parent)
ReplyThreadPopup::ReplyThreadPopup(bool closeAutomatically, Split *split)
: DraggablePopup(closeAutomatically, split)
, split_(split)
{
assert(split != nullptr);
this->setWindowTitle(QStringLiteral("Reply Thread"));
HotkeyController::HotkeyMap actions{