From 5e73fdb9b169f3969e2ceede1d375263bd356642 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 4 Feb 2015 21:17:52 +0300 Subject: [PATCH] fix log message --- src/qt/overviewpage.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index 745ac2d69..c3facbe5e 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -360,7 +360,6 @@ void OverviewPage::darkSendStatus() /* ** @TODO this string creation really needs some clean ups ---vertoe ** */ std::ostringstream convert; - convert << tr("Last Darksend message:\n").toStdString(); if(state == POOL_STATUS_ACCEPTING_ENTRIES) { if(entries == 0) { @@ -408,13 +407,13 @@ void OverviewPage::darkSendStatus() if(state == POOL_STATUS_ERROR || state == POOL_STATUS_SUCCESS) darkSendPool.Check(); QString s(convert.str().c_str()); + s = tr("Last Darksend message:\n") + s; if(s != ui->darksendStatus->text()) - LogPrintf("%s\n", convert.str().c_str()); + LogPrintf("Last Darksend message: %s\n", convert.str().c_str()); ui->darksendStatus->setText(s); - if(darkSendPool.sessionDenom == 0){ ui->labelSubmittedDenom->setText(tr("N/A")); } else {