From 0ac7a48cfc19297541e6541780f3d3e926b585bc Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 31 May 2014 12:40:19 +0200 Subject: [PATCH] Minor logging fix. --- alethzero/MainWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index 195cbb5ae..69335cc03 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -511,7 +511,7 @@ void Main::refreshMining() { eth::ClientGuard g(m_client.get()); eth::MineProgress p = m_client->miningProgress(); - ui->mineStatus->setText(QString(m_client->isMining() ? "%1s @ %2kH/s" : "Not mining").arg(p.ms / 1000).arg(p.ms ? p.hashes / p.ms : 0)); + ui->mineStatus->setText(m_client->isMining() ? QString("%1s @ %2kH/s").arg(p.ms / 1000).arg(p.ms ? p.hashes / p.ms : 0) : "Not mining"); if (!ui->miningView->isVisible()) return; list l = m_client->miningHistory();