From 62706182068efa114b690c3e206585e6013e85c5 Mon Sep 17 00:00:00 2001 From: HenriWahl <2835065+HenriWahl@users.noreply.github.com> Date: Fri, 18 Oct 2024 20:09:31 +0200 Subject: [PATCH] fix OS check --- Nagstamon/QUI/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nagstamon/QUI/__init__.py b/Nagstamon/QUI/__init__.py index 62e8a2c2..f0051b51 100644 --- a/Nagstamon/QUI/__init__.py +++ b/Nagstamon/QUI/__init__.py @@ -142,7 +142,7 @@ APP = QApplication(sys.argv) # as long as Windows 11 + Qt6 looks that ugly it's better to choose another app style -if OS_WINDOWS and platform.release() >= '11': +if OS == OS_WINDOWS and platform.release() >= '11': APP.setStyle('fusion') # fixed shortened and lowered color names for cells, also used by statusbar label snippets