diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-21 01:30:39 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-21 01:30:39 +0100 |
commit | ad25c89ac4d9d5819d4d7395ff80dafe7fca3641 (patch) | |
tree | c442eb98552a7fa32dc4b3e6407c02a4ab903637 /libraries | |
parent | 905bc2e440060a6228725fe1e7abd9a1fce7b1e8 (diff) | |
download | MultiMC-ad25c89ac4d9d5819d4d7395ff80dafe7fca3641.tar MultiMC-ad25c89ac4d9d5819d4d7395ff80dafe7fca3641.tar.gz MultiMC-ad25c89ac4d9d5819d4d7395ff80dafe7fca3641.tar.lz MultiMC-ad25c89ac4d9d5819d4d7395ff80dafe7fca3641.tar.xz MultiMC-ad25c89ac4d9d5819d4d7395ff80dafe7fca3641.zip |
NOISSUE ifdef out unknown Apple system versions in analytics
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ganalytics/src/sys_apple.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/ganalytics/src/sys_apple.cpp b/libraries/ganalytics/src/sys_apple.cpp index cfaea839..c648970e 100644 --- a/libraries/ganalytics/src/sys_apple.cpp +++ b/libraries/ganalytics/src/sys_apple.cpp @@ -42,9 +42,11 @@ QString Sys::getSystemInfo() case QSysInfo::MV_10_10: os = "Macintosh; Mac OS 10.10"; break; +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) case QSysInfo::MV_10_11: os = "Macintosh; Mac OS 10.11"; break; +#endif #if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)) case QSysInfo::MV_10_12: os = "Macintosh; Mac OS 10.12"; @@ -74,6 +76,7 @@ QString Sys::getSystemInfo() case QSysInfo::MV_IOS_8_0: os = "iPhone; iOS 8.0"; break; +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) case QSysInfo::MV_IOS_8_1: os = "iPhone; iOS 8.1"; break; @@ -89,6 +92,7 @@ QString Sys::getSystemInfo() case QSysInfo::MV_IOS_9_0: os = "iPhone; iOS 9.0"; break; +#endif #if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)) case QSysInfo::MV_IOS_9_1: os = "iPhone; iOS 9.1"; |