From e20b954d6564d9c3a16965f3cd39cc49be6e1546 Mon Sep 17 00:00:00 2001 From: jonymt <johanmt@yandex.ru> Date: Wed, 2 Oct 2019 16:20:02 +0200 Subject: [PATCH] [*] code review --- CellFrameDashboardGUI/DapScreenHistoryModel.cpp | 1 - CellFrameDashboardService/DapChainNodeNetworkHandler.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CellFrameDashboardGUI/DapScreenHistoryModel.cpp b/CellFrameDashboardGUI/DapScreenHistoryModel.cpp index ac5b71693..91754fae2 100644 --- a/CellFrameDashboardGUI/DapScreenHistoryModel.cpp +++ b/CellFrameDashboardGUI/DapScreenHistoryModel.cpp @@ -50,7 +50,6 @@ void DapScreenHistoryModel::receiveNewData(const QVariant& aData) return; } - qDebug() << aData; beginResetModel(); QList<QVariant> dataList = aData.toList(); m_elementList.clear(); diff --git a/CellFrameDashboardService/DapChainNodeNetworkHandler.cpp b/CellFrameDashboardService/DapChainNodeNetworkHandler.cpp index 5e6b25083..27411397d 100644 --- a/CellFrameDashboardService/DapChainNodeNetworkHandler.cpp +++ b/CellFrameDashboardService/DapChainNodeNetworkHandler.cpp @@ -76,6 +76,6 @@ void DapChainNodeNetworkHandler::setCurrentNetwork(const QString& aNetwork) void DapChainNodeNetworkHandler::setNodeStatus(const bool aIsOnline) { QProcess process; - process.start(QString(CLI_PATH) + QString(" net -net %2 go %1").arg(aIsOnline ? "online" : "offline").arg(m_CurrentNetwork)); + process.start(QString(CLI_PATH) + QString(" net -net %1 go %2").arg(m_CurrentNetwork).arg(aIsOnline ? "online" : "offline")); process.waitForFinished(-1); } -- GitLab