From 8a71de53c002b7afdd516cff7190896d40496483 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 2 May 2025 00:48:02 +0530 Subject: Fix luv callback error triggering exit and segfault --- src/widgets/BrowserWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/BrowserWindow.cpp b/src/widgets/BrowserWindow.cpp index ba0c244..d1b9c44 100644 --- a/src/widgets/BrowserWindow.cpp +++ b/src/widgets/BrowserWindow.cpp @@ -1,8 +1,9 @@ #include +#include +#include #include #include #include -#include #include "Configuration.hpp" #include "WindowMediator.hpp" @@ -16,10 +17,9 @@ BrowserWindow::BrowserWindow(const Configuration &configuration, QWebEngineProfi setCentralWidget(new QWidget()); // Root stacked layout - auto *layout = new QStackedLayout(); + auto *layout = new QVBoxLayout(); layout->setContentsMargins(0, 0, 0, 0); layout->setSpacing(0); - layout->setStackingMode(QStackedLayout::StackAll); centralWidget()->setLayout(layout); // Webengine profile -- cgit v1.3.1