From 346c16b4e2ea26f47e0e370a490b7794492a9ebb Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 23 Mar 2025 19:48:53 +0530 Subject: Apply clang-tidy suggestions --- src/main.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d86b484..4a30628 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,14 +5,14 @@ #include "widgets/MainWindow.hpp" int main(int argc, char *argv[]) { - QApplication app(argc, argv); + const QApplication app(argc, argv); - auto lua = LuaRuntime::instance(); - lua->startEventLoop(); + auto *lua = LuaRuntime::instance(); + lua->start_event_loop(); - MainWindow mainWindow; - mainWindow.setWindowTitle("null-browser"); - mainWindow.show(); + MainWindow main_window; + main_window.setWindowTitle("null-browser"); + main_window.show(); - return app.exec(); + return QApplication::exec(); } -- cgit v1.3.1