Show full path when hovering over labels in pixmap cache profiler

This helps if you have multiple pixmaps with equal names.

Change-Id: I39a16f55d16c5729483c037b8c125795105fae0a
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
Ulf Hermann
2014-09-23 12:42:05 +02:00
parent 3b74cda11a
commit b429a98f15

View File

@@ -161,6 +161,7 @@ QVariantList PixmapCacheModel::labels() const
for (int i=0; i < d->pixmaps.count(); i++) {
// Loading
QVariantMap element;
element.insert(QLatin1String("displayName"), d->pixmaps[i].url);
element.insert(QLatin1String("description"),
QVariant(getFilenameOnly(d->pixmaps[i].url)));