summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2012-05-25 11:51:54 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-25 13:52:08 +0200
commitdf1fc82e23b0f4fec0141dcb8cecd1874dd1655c (patch)
tree7d8c15838b137d0deb6cbc0e55a6d25ee5642b08
parent5c632708daf87c98649cf5b4f82013d70fe85679 (diff)
Add Mac OS 10.8 QSysInfo enums
Change-Id: I79ce06ead836478ff6816e6631742db91ba256fe Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/global/qglobal.cpp1
-rw-r--r--src/corelib/global/qsysinfo.h4
2 files changed, 4 insertions, 1 deletions
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();