- Timestamp:
- Sep 29, 2015 9:40:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r57953 r57954 336 336 const int iRelease = QString(info.release).section('.', 0, 0).toInt(); 337 337 338 /* Return release if determined, return ' Old' if version less than 'New', return 'New' otherwise: */339 return release.value(iRelease, iRelease < MacOSXRelease_New ? MacOSXRelease_Old : MacOSXRelease_New);338 /* Return release if determined, return 'New' if version more recent than latest, return 'Old' otherwise: */ 339 return release.value(iRelease, iRelease > release.keys().last() ? MacOSXRelease_New : MacOSXRelease_Old); 340 340 } 341 341 /* Return 'Old' by default: */
Note:
See TracChangeset
for help on using the changeset viewer.