fix log message

This commit is contained in:
UdjinM6 2015-02-04 21:17:52 +03:00
parent d13de27d57
commit 5e73fdb9b1

View File

@ -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 {