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
+5 -1
View File
@@ -20,7 +20,11 @@ class ReplyThreadPopup final : public DraggablePopup
Q_OBJECT
public:
ReplyThreadPopup(bool closeAutomatically, QWidget *parent, Split *split);
/**
* @param closeAutomatically Decides whether the popup should close when it loses focus
* @param split Will be used as the popup's parent. Must not be null
*/
explicit ReplyThreadPopup(bool closeAutomatically, Split *split);
void setThread(std::shared_ptr<MessageThread> thread);
void giveFocus(Qt::FocusReason reason);