changeset 13:facf83163013

Fix product version vor Mac (thanks to algo)
author Ideenmodellierer
date Mon, 12 Jan 2026 18:45:15 +0100
parents ac837fe1d590
children e47e0f59101d
files main.cpp
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/main.cpp	Mon Jan 12 13:58:41 2026 +0000
+++ b/main.cpp	Mon Jan 12 18:45:15 2026 +0100
@@ -113,10 +113,7 @@
     }
 #endif
 #elif defined(Q_OS_MACX)
-    if (QSysInfo::macVersion() < 2)
-        LOG_TRACE("    MacOS 9");
-    else
-        LOG_TRACE("    MacOS 10." << int(QSysInfo::macVersion() - 2));
+    LOG_TRACE("    MacOS " << (QSysInfo::productVersion()));
 #elif defined(Q_OS_LINUX)
     LOG_TRACE("    Linux ");
 #else