Skip to content
Snippets Groups Projects
Commit 8a20b7b5 authored by andrey.daragan's avatar andrey.daragan
Browse files

Develop

parent e3eea89c
No related branches found
No related tags found
1 merge request!1Support 3702
...@@ -36,7 +36,7 @@ QVariant DapGetListWalletsCommand::respondToClient(const QVariant &arg1, const Q ...@@ -36,7 +36,7 @@ QVariant DapGetListWalletsCommand::respondToClient(const QVariant &arg1, const Q
QProcess process; QProcess process;
process.start(QString("%1 wallet list").arg(m_sCliPath)); process.start(QString("%1 wallet list").arg(m_sCliPath));
process.waitForFinished(-1); process.waitForFinished(-1);
QString resources = QString::fromLatin1(process.readAll()); QString resources = QString::fromLocal8Bit(process.readAll());
QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption); QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption);
QRegularExpressionMatchIterator itr = rx.globalMatch(resources); QRegularExpressionMatchIterator itr = rx.globalMatch(resources);
while (itr.hasNext()) while (itr.hasNext())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment