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() {
|
QString PlatformBackend::getCurrentUser() {
|
||||||
LPWSTR username[UNLEN + 1];
|
WCHAR username[UNLEN + 1];
|
||||||
DWORD username_len = UNLEN + 1;
|
DWORD username_len = UNLEN + 1;
|
||||||
QString userName;
|
QString userName;
|
||||||
if (GetUserName(username, &username_len)) {
|
if (GetUserName(username, &username_len)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user