Show Efficiency coefficient in percentage and as float number.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2019-03-30 11:14:32 +02:00
parent 4f6735808b
commit 69340a4ff2

View File

@ -103,7 +103,7 @@ void DialogLayoutProgress::Finished()
//---------------------------------------------------------------------------------------------------------------------
void DialogLayoutProgress::Efficiency(qreal value)
{
ui->labelMessage->setText(tr("Efficiency coefficient: %1").arg(qRound(value * 10) / 10));
ui->labelMessage->setText(tr("Efficiency coefficient: %1%").arg(qRound(value * 10.) / 10.));
}
//---------------------------------------------------------------------------------------------------------------------