summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-07-27 22:48:58 -0700
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-07-28 08:54:26 +0000
commit0f5db5d3bc06db891bbee3275ad409d41e9fcc8a (patch)
tree8d51d51a7d06577ae9ea80d20302a5044f0fabd3
parent9ef620911514287ed7fd84604f2b8c95295fffe8 (diff)
downloadqbs-0f5db5d3bc06db891bbee3275ad409d41e9fcc8a.tar.gz
Fix MSVC build.
Change-Id: Ib4c737975b94a3700becb604dca31108ca363f8d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r--src/lib/corelib/tools/hostosinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/tools/hostosinfo.h b/src/lib/corelib/tools/hostosinfo.h
index 1025d08b8..12571c7e7 100644
--- a/src/lib/corelib/tools/hostosinfo.h
+++ b/src/lib/corelib/tools/hostosinfo.h
@@ -68,8 +68,8 @@ public:
static inline Version hostOsVersion() {
Version v;
if (HostOsInfo::isWindowsHost()) {
- QSettings settings(QStringLiteral("HKEY_LOCAL_MACHINE\\Software\\"
- "Microsoft\\Windows NT\\CurrentVersion"),
+ QSettings settings(QString::fromLatin1("HKEY_LOCAL_MACHINE\\Software\\"
+ "Microsoft\\Windows NT\\CurrentVersion"),
QSettings::NativeFormat);
v = v.fromString(settings.value(QStringLiteral("CurrentVersion")).toString() +
QLatin1Char('.') +