From 4760aa8a3272c695320214ca23b9bc78ee947f0d Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Thu, 1 Mar 2012 15:32:07 +0100 Subject: [PATCH] Add possible constant for detecting mountain lion --- telldus-gui/Plugins/Live/LiveObject.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/telldus-gui/Plugins/Live/LiveObject.cpp b/telldus-gui/Plugins/Live/LiveObject.cpp index dcd61448..c5e29f0a 100644 --- a/telldus-gui/Plugins/Live/LiveObject.cpp +++ b/telldus-gui/Plugins/Live/LiveObject.cpp @@ -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"); }