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:
@ -80,7 +80,7 @@ void SettingsDialog::FormAccepted()
|
|||||||
{
|
{
|
||||||
if (ui->password->text() != CHANGE_ME)
|
if (ui->password->text() != CHANGE_ME)
|
||||||
{
|
{
|
||||||
QByteArray pwd = ui->password->text().toLocal8Bit();
|
QByteArray pwd = ui->password->text().toUtf8();
|
||||||
const char *new_password = pwd;
|
const char *new_password = pwd;
|
||||||
|
|
||||||
conf->SetPassword(new_password);
|
conf->SetPassword(new_password);
|
||||||
|
Reference in New Issue
Block a user