Performance improvement on ARM

This commit is contained in:
Christophe Dumez
2011-01-25 17:04:55 +00:00
parent 5c8dd9f0fb
commit 8238c13dc0
5 changed files with 15 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ public:
break;
case PROGRESS:{
QStyleOptionProgressBarV2 newopt;
float progress = index.data().toDouble()*100.;
qreal progress = index.data().toDouble()*100.;
newopt.rect = opt.rect;
// We don't want to display 100% unless
// the torrent is really complete