diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-04-22 23:00:05 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-04-25 02:11:20 +0000 |
commit | 8093da2e512dac287c9f967f7168b2518f63dd5a (patch) | |
tree | 5905968461f58f7b9f8f2aed5066bbcc4c93b684 /src/sql | |
parent | f9f777c40a7d8e5f24bbdf8ee509594a0e38c56a (diff) |
Append the Windows OS/kernel version number in QSysInfo::prettyProductName().
The rationale is to be consistent with other operating systems, all of which
print a version number following their name (possibly in parenthesis if the
version is typically non-numeric as is always the case with OS X so far and
has been with Windows).
The version number printed here is only two digits, both for consistency with
OS X and because the first two digits of an operating systems's version are
typically the limit in marketing materials and general presentation.
This also fixes a bug where the returned string would be "Windows " (note the
space) in the case where the name of a future Windows version was not known.
[ChangeLog][QtCore][QSysInfo] The output of QSysInfo::prettyProductName
now includes the Windows OS/kernel version number. In case of future versions
of Windows, a valid string is now returned.
Change-Id: I588c2e0aaae19337eb69b4645f8bccf8270c75bc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions