From 8a20b7b55183d5f0c7f900841e63a87b2f54b41f Mon Sep 17 00:00:00 2001 From: "andrey.daragan" <daragan.andrey@demlabs.net> Date: Wed, 18 Mar 2020 19:00:06 +0000 Subject: [PATCH] Develop --- handlers/DapGetListWalletsCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/DapGetListWalletsCommand.cpp b/handlers/DapGetListWalletsCommand.cpp index 9da645d1..a2f514ec 100644 --- a/handlers/DapGetListWalletsCommand.cpp +++ b/handlers/DapGetListWalletsCommand.cpp @@ -36,7 +36,7 @@ QVariant DapGetListWalletsCommand::respondToClient(const QVariant &arg1, const Q QProcess process; process.start(QString("%1 wallet list").arg(m_sCliPath)); process.waitForFinished(-1); - QString resources = QString::fromLatin1(process.readAll()); + QString resources = QString::fromLocal8Bit(process.readAll()); QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption); QRegularExpressionMatchIterator itr = rx.globalMatch(resources); while (itr.hasNext()) -- GitLab