From 0ca5ebe78416aa48aeb56f21699c4c7d762ccd51 Mon Sep 17 00:00:00 2001 From: "Bruce B. Lacey" Date: Tue, 28 Mar 2017 11:03:53 -0700 Subject: [PATCH] Fix commit 7741f74ae - Show more mac versions in about dialog --- src/Gui/Splashscreen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index dcaaa14415..435d2c76f3 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -326,8 +326,12 @@ static QString getOperatingSystem() return QString::fromLatin1("Mac OS X 10.9"); case QSysInfo::MV_10_10: return QString::fromLatin1("Mac OS X 10.10"); +#endif +#if QT_VERSION >= 0x050500 case QSysInfo::MV_10_11: return QString::fromLatin1("Mac OS X 10.11"); +#endif +#if QT_VERSION >= 0x050600 case QSysInfo::MV_10_12: return QString::fromLatin1("Mac OS X 10.12"); #endif