diff --git a/src/previewlistdelegate.h b/src/previewlistdelegate.h index f6ba96e1b..2cf6ecf4f 100644 --- a/src/previewlistdelegate.h +++ b/src/previewlistdelegate.h @@ -65,7 +65,7 @@ class PreviewListDelegate: public QItemDelegate { QStyleOptionProgressBarV2 newopt; qreal progress = index.data().toDouble()*100.; newopt.rect = opt.rect; - newopt.text = misc::accurateDoubleToString(progress, 1); + newopt.text = misc::accurateDoubleToString(progress, 1) + "%"; newopt.progress = (int)progress; newopt.maximum = 100; newopt.minimum = 0; diff --git a/src/properties/proplistdelegate.h b/src/properties/proplistdelegate.h index 561fa816a..1cfc26663 100644 --- a/src/properties/proplistdelegate.h +++ b/src/properties/proplistdelegate.h @@ -78,7 +78,7 @@ public: QStyleOptionProgressBarV2 newopt; qreal progress = index.data().toDouble()*100.; newopt.rect = opt.rect; - newopt.text = misc::accurateDoubleToString(progress, 1); + newopt.text = misc::accurateDoubleToString(progress, 1) + "%"; newopt.progress = (int)progress; newopt.maximum = 100; newopt.minimum = 0; diff --git a/src/transferlistdelegate.h b/src/transferlistdelegate.h index 4158ac5c6..ca2ff2373 100644 --- a/src/transferlistdelegate.h +++ b/src/transferlistdelegate.h @@ -175,7 +175,7 @@ public: QStyleOptionProgressBarV2 newopt; qreal progress = index.data().toDouble()*100.; newopt.rect = opt.rect; - newopt.text = misc::accurateDoubleToString(progress, 1); + newopt.text = misc::accurateDoubleToString(progress, 1) + "%"; newopt.progress = (int)progress; newopt.maximum = 100; newopt.minimum = 0;