From a7b721941afddaed1fd9e01a9dfee0e70c7c0ea4 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 14 Apr 2017 17:47:39 +0300 Subject: [PATCH] Fix build on Windows. --HG-- branch : release --- src/libs/vmisc/vcommonsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vmisc/vcommonsettings.cpp b/src/libs/vmisc/vcommonsettings.cpp index fb6c71e63..3c85d9d41 100644 --- a/src/libs/vmisc/vcommonsettings.cpp +++ b/src/libs/vmisc/vcommonsettings.cpp @@ -422,7 +422,7 @@ QString VCommonSettings::GetUser() const { QString user; #ifdef Q_OS_WIN - user = value(SettingPatternUser, QString::fromLocal8Bit(qgetenv("USERNAME").constData())).toString(); + user = value(settingPatternUser, QString::fromLocal8Bit(qgetenv("USERNAME").constData())).toString(); #else user = value(settingPatternUser, QString::fromLocal8Bit(qgetenv("USER").constData())).toString(); #endif