Skip to content
Snippets Groups Projects

Bugs 3285

Merged andrey.daragan requested to merge bugs-3285 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -47,7 +47,7 @@ QVariant DapGetWalletsInfoCommand::respondToClient(const QVariant &arg1, const Q
@@ -47,7 +47,7 @@ QVariant DapGetWalletsInfoCommand::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 res = QString::fromLatin1(process.readAll());
QString res = QString::fromLocal8Bit(process.readAll());
QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption);
QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption);
QRegularExpressionMatchIterator itr = rx.globalMatch(res);
QRegularExpressionMatchIterator itr = rx.globalMatch(res);
while (itr.hasNext())
while (itr.hasNext())
Loading