mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
commit
17f657673f
@ -128,7 +128,7 @@ void WalletKeysFilesModel::findWallets(const QString &moneroAccountsDir)
|
|||||||
if(fileExists(wallet + ".address.txt")){
|
if(fileExists(wallet + ".address.txt")){
|
||||||
QFile file(wallet + ".address.txt");
|
QFile file(wallet + ".address.txt");
|
||||||
file.open(QFile::ReadOnly | QFile::Text);
|
file.open(QFile::ReadOnly | QFile::Text);
|
||||||
QString _address = QTextCodec::codecForMib(106)->toUnicode(file.readAll());
|
QString _address = QString(file.readAll());
|
||||||
|
|
||||||
if(!_address.isEmpty()){
|
if(!_address.isEmpty()){
|
||||||
address = _address;
|
address = _address;
|
||||||
|
@ -109,8 +109,7 @@ void IPC::handleConnection(){
|
|||||||
clientConnection, &QLocalSocket::deleteLater);
|
clientConnection, &QLocalSocket::deleteLater);
|
||||||
|
|
||||||
clientConnection->waitForReadyRead(2);
|
clientConnection->waitForReadyRead(2);
|
||||||
QByteArray cmdArray = clientConnection->readAll();
|
QString cmdString = QString(clientConnection->readAll());
|
||||||
QString cmdString = QTextCodec::codecForMib(106)->toUnicode(cmdArray); // UTF-8
|
|
||||||
qDebug() << cmdString;
|
qDebug() << cmdString;
|
||||||
|
|
||||||
this->parseCommand(cmdString);
|
this->parseCommand(cmdString);
|
||||||
|
Loading…
Reference in New Issue
Block a user