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