diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-01-13 20:20:22 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-01-18 05:15:01 +0000 |
commit | ae072cd9c4a575e0ed3f073c6ab395ccdf7c2b37 (patch) | |
tree | c86dc0ef7d038e98ff271b765ad3086d0befd7ad /src/winmain/qtmain_winrt.cpp | |
parent | 2fe9f30512092cfb1928feaa9d3c56025c74f92a (diff) |
Polish up the QOperatingSystemVersion API and documentation
operator== and operator!= have been disabled, as they are likely to be
misused and are not particularly useful in practice. The same goes for
the QVersionNumber conversion convenience functions.
The constructor normalizes version component values so that invalid
versions like [5, -1, 3] cannot be constructed and made to wreak havoc
on assumed logic.
Change-Id: Iabb6876bd5dc11522032837f78cf825b921a49b2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/winmain/qtmain_winrt.cpp')
0 files changed, 0 insertions, 0 deletions