From f7392096d2d84be7143947d386528bf4f487ee83 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 28 Mar 2025 23:16:14 +0530 Subject: Split window management for multi-window --- src/main.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d676688..9409583 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,17 +1,13 @@ #include -#include "LuaRuntime.hpp" -#include "widgets/MainWindow.hpp" +#include "widgets/BrowserApp.hpp" int main(int argc, char *argv[]) { const QApplication app(argc, argv); - auto *lua = LuaRuntime::instance(); - lua->start_event_loop(); - - MainWindow main_window; - main_window.setWindowTitle("null-browser"); - main_window.show(); + BrowserApp browser; + browser.create_window(); + browser.create_window(); return QApplication::exec(); } -- cgit v1.3.1