From 3a80dd10eaa068292848a420000498fac0394074 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Sat, 8 Nov 2025 15:28:40 +0000 Subject: [PATCH] Cleanup main.cpp Signed-off-by: TheKodeToad --- launcher/main.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/launcher/main.cpp b/launcher/main.cpp index c41c510dd..2bce655d2 100644 --- a/launcher/main.cpp +++ b/launcher/main.cpp @@ -35,34 +35,8 @@ #include "Application.h" -// #define BREAK_INFINITE_LOOP -// #define BREAK_EXCEPTION -// #define BREAK_RETURN - -#ifdef BREAK_INFINITE_LOOP -#include -#include -#endif - int main(int argc, char* argv[]) { -#ifdef BREAK_INFINITE_LOOP - while (true) { - std::this_thread::sleep_for(std::chrono::milliseconds(250)); - } -#endif -#ifdef BREAK_EXCEPTION - throw 42; -#endif -#ifdef BREAK_RETURN - return 42; -#endif - -#if QT_VERSION <= QT_VERSION_CHECK(6, 0, 0) - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); -#endif - // initialize Qt Application app(argc, argv);