Make it clear that the numbers in the pixmap scale are pixels

By showing the same numbers with units in the labels we avoid leading
people to assume bytes as unit.

Change-Id: I56d2ca5f21434fd24a305aebd434371438da7ebb
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Ulf Hermann
2014-07-02 11:41:29 +02:00
parent fafe9b116c
commit 8c260ba1a6

View File

@@ -209,6 +209,11 @@ const QVariantList PixmapCacheModel::getEventDetails(int index) const
if (ev->pixmapEventType != PixmapCacheCountChanged) {
d->addVP(result, tr("Duration"), ev->duration );
} else {
QVariantMap res;
res.insert(tr("Cache Size"), QVariant(QString::fromLatin1("%1 px")
.arg(ev->cacheSize)));
result << res;
}
{