Fix build on Windows.
--HG-- branch : release
This commit is contained in:
parent
e7a4935983
commit
a7b721941a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user