aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp12
1 files changed, 4 insertions, 8 deletions
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 <QApplication>
-#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();
}