mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
Use UTF-8 strings for the password
This commit is contained in:
parent
629880cd58
commit
9eaa9a98ee
@ -80,7 +80,7 @@ void SettingsDialog::FormAccepted()
|
||||
{
|
||||
if (ui->password->text() != CHANGE_ME)
|
||||
{
|
||||
QByteArray pwd = ui->password->text().toLocal8Bit();
|
||||
QByteArray pwd = ui->password->text().toUtf8();
|
||||
const char *new_password = pwd;
|
||||
|
||||
conf->SetPassword(new_password);
|
||||
|
Loading…
x
Reference in New Issue
Block a user