fix windows compilation error
This commit is contained in:
parent
db651220f1
commit
10bd9a67c2
@ -46,7 +46,7 @@ bool PlatformBackend::filenameValid(QString name) {
|
||||
}
|
||||
|
||||
QString PlatformBackend::getCurrentUser() {
|
||||
LPWSTR username[UNLEN + 1];
|
||||
WCHAR username[UNLEN + 1];
|
||||
DWORD username_len = UNLEN + 1;
|
||||
QString userName;
|
||||
if (GetUserName(username, &username_len)) {
|
||||
|
Loading…
Reference in New Issue
Block a user