summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-03-21 12:12:39 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-03-21 12:30:52 (GMT)
commitce61e3c3c6ff7f00d9b756c99e8fc031a69e68db (patch)
tree976b9e0bc6aaaf8dc465ab4ad542c5c1ecf9b08e /src/corelib/global
parent599a8f5b86bdf389e0edd2f42f0bd4ea050e24f1 (diff)
downloadQt-ce61e3c3c6ff7f00d9b756c99e8fc031a69e68db.zip
Qt-ce61e3c3c6ff7f00d9b756c99e8fc031a69e68db.tar.gz
Qt-ce61e3c3c6ff7f00d9b756c99e8fc031a69e68db.tar.bz2
Return SV_S60_5_2 / SV_SF_3 for next gen Symbian platform.
Previously version resolved to unknown if Symbian or S60 version was queried and Series60v5.3.sis was found. Note that proper detection and enumerations for the new platform will come when they are agreed upon. Until then, this fix will make the new platform more usable. Task-number: QT-4593 Reviewed-by: Sami Merila
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 62d83cc..25ddd24 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1862,7 +1862,7 @@ QSysInfo::SymbianVersion QSysInfo::symbianVersion()
else if (minor == 1) {
return cachedSymbianVersion = SV_SF_2;
}
- else if (minor == 2) {
+ else if (minor >= 2) {
return cachedSymbianVersion = SV_SF_3;
}
}