Add possible constant for detecting mountain lion
This commit is contained in:
parent
5e8a3c965a
commit
4760aa8a32
1 changed files with 3 additions and 0 deletions
|
@ -326,6 +326,9 @@ LiveMessageToken LiveObject::generateVersionToken() {
|
|||
case QSysInfo::MV_SNOWLEOPARD+1: //TODO: MV_LION when we build against Qt-4.8
|
||||
token.dictVal["os-version"] = LiveMessageToken("lion");
|
||||
break;
|
||||
case QSysInfo::MV_SNOWLEOPARD+2: //TODO: MV_MOUNTAINLION? when Qt has it
|
||||
token.dictVal["os-version"] = LiveMessageToken("mountainlion");
|
||||
break;
|
||||
default:
|
||||
token.dictVal["os-version"] = LiveMessageToken("unknown");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue