Performance improvement on ARM

This commit is contained in:
Christophe Dumez
2011-01-25 17:01:09 +00:00
parent dfcdb18b41
commit 5c8dd9f0fb
17 changed files with 36 additions and 36 deletions

View File

@@ -59,7 +59,7 @@ class PreviewListDelegate: public QItemDelegate {
QItemDelegate::drawDisplay(painter, opt, option.rect, misc::friendlyUnit(index.data().toLongLong()));
break;
case PreviewSelect::PROGRESS:{
float progress = index.data().toDouble()*100.;
qreal progress = index.data().toDouble()*100.;
QStyleOptionProgressBarV2 newopt;
newopt.rect = opt.rect;
newopt.text = QString(QByteArray::number(progress, 'f', 1))+QString::fromUtf8("%");