From 69340a4ff2af28dad06c1a21c256ad999c751333 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 30 Mar 2019 11:14:32 +0200 Subject: [PATCH] Show Efficiency coefficient in percentage and as float number. --HG-- branch : feature --- src/app/valentina/dialogs/dialoglayoutprogress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/dialogs/dialoglayoutprogress.cpp b/src/app/valentina/dialogs/dialoglayoutprogress.cpp index 11518b6ec..59236ba11 100644 --- a/src/app/valentina/dialogs/dialoglayoutprogress.cpp +++ b/src/app/valentina/dialogs/dialoglayoutprogress.cpp @@ -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.)); } //---------------------------------------------------------------------------------------------------------------------