From 4f44c588fa74f3572e0f12cbcfb526b0e6c7aff0 Mon Sep 17 00:00:00 2001 From: Christoph Holzheuer Date: Tue, 20 Jan 2026 17:07:07 +0100 Subject: [PATCH] Debug tests. --- bcmainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bcmainwindow.cpp b/bcmainwindow.cpp index 3c1783d..670cc13 100644 --- a/bcmainwindow.cpp +++ b/bcmainwindow.cpp @@ -196,7 +196,8 @@ void BCMainWindow::initStatusBar() QString message = isDark ? "DarkMode aktiviert" : "LightMode aktiviert"; _statusBar->showMessage( message, 3000); - setApplicationStyleSheet( isDark ? cDarkModeStyle : cLightModeStyle ); + //setApplicationStyleSheet( isDark ? cDarkModeStyle : cLightModeStyle ); + setApplicationStyleSheet( isDark ? " " : cLightModeStyle ); }); // Wir starten im light mode @@ -239,6 +240,7 @@ bool BCMainWindow::setApplicationStyleSheet( QAnyStringView path ) return false; } qWarning() << "Konnte Stylesheet nicht laden:" << styleFile.errorString(); + qApp->setStyleSheet(" "); return true; }