Minor fix

This commit is contained in:
Nodir Temirkhodjaev 2018-12-12 13:56:07 +05:00
parent bd6cad26ed
commit 5713681d93

View File

@ -45,7 +45,7 @@ QString NetUtil::ip4ToText(quint32 ip)
wchar_t buf[MAX_IPV4_LEN];
if (!InetNtopW(AF_INET, (PVOID) p, buf, MAX_IPV4_LEN))
return false;
return QString();
return QString::fromWCharArray(buf);
}