From df1fc82e23b0f4fec0141dcb8cecd1874dd1655c Mon Sep 17 00:00:00 2001 From: Morten Sorvig Date: Fri, 25 May 2012 11:51:54 +0200 Subject: [PATCH] Add Mac OS 10.8 QSysInfo enums Change-Id: I79ce06ead836478ff6816e6631742db91ba256fe Reviewed-by: Thiago Macieira --- src/corelib/global/qglobal.cpp | 1 + src/corelib/global/qsysinfo.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index d359b27c0f..6880b9c1be 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1016,6 +1016,7 @@ bool qSharedBuild() \value MV_LEOPARD Apple codename for MV_10_5 \value MV_SNOWLEOPARD Apple codename for MV_10_6 \value MV_LION Apple codename for MV_10_7 + \value MV_MOUNTAINLION Apple codename for MV_10_8 \sa WinVersion */ diff --git a/src/corelib/global/qsysinfo.h b/src/corelib/global/qsysinfo.h index 2c9ce39430..ae65c726b9 100644 --- a/src/corelib/global/qsysinfo.h +++ b/src/corelib/global/qsysinfo.h @@ -132,6 +132,7 @@ public: MV_10_5 = 0x0007, MV_10_6 = 0x0008, MV_10_7 = 0x0009, + MV_10_8 = 0x000A, /* codenames */ MV_CHEETAH = MV_10_0, @@ -141,7 +142,8 @@ public: MV_TIGER = MV_10_4, MV_LEOPARD = MV_10_5, MV_SNOWLEOPARD = MV_10_6, - MV_LION = MV_10_7 + MV_LION = MV_10_7, + MV_MOUNTAINLION = MV_10_8 }; static const MacVersion MacintoshVersion; static MacVersion macVersion();