mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 06:54:20 +00:00
Fix missing percentage signs. Closes #1392.
This commit is contained in:
parent
72ae2cb503
commit
33b0a2b55f
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user