Change-Id: I32936d4ba9099fa09c72cdd57304c734f30eaa75
if(msocket && msocket->isOpen())
msocket->write(QString("setuser %1\nsetpasswd %2\nlogin\n")
.arg(user)
- .arg(password.toUtf8().toBase64())
+ .arg(QString::fromLatin1(password.toUtf8().toBase64()))
.toUtf8());
}
else if(cmd=="setuser")
emit setUsername(par.trimmed());
else if(cmd=="setpasswd")
- emit setPassword(QString::fromUtf8(QByteArray::fromBase64(par.trimmed())));
+ emit setPassword(QString::fromUtf8(QByteArray::fromBase64(par.trimmed().toLatin1())));
else if(cmd=="login")
emit startLogin();
else