fix: make popup windows have a parent per default (#3836)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Leon Richardt
2022-06-25 14:45:56 +02:00
committed by GitHub
parent 34ea303607
commit 881986d86f
5 changed files with 28 additions and 6 deletions
+2 -2
View File
@@ -43,8 +43,8 @@
namespace chatterino {
Window::Window(WindowType type)
: BaseWindow(BaseWindow::EnableCustomFrame)
Window::Window(WindowType type, QWidget *parent)
: BaseWindow(BaseWindow::EnableCustomFrame, parent)
, type_(type)
, notebook_(new SplitNotebook(this))
{