diff options
| author | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-23 12:42:05 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@digia.com> | 2014-09-23 13:58:35 +0300 |
| commit | b429a98f151ad45fc779e2bba971f2d3a5545058 (patch) | |
| tree | 9a86b4f1b6c197c8fbf3701cacaf8e1f03d95636 | |
| parent | 3b74cda11ae78bc2be3b65de0df28758d2ed86af (diff) | |
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>
| -rw-r--r-- | plugins/qmlprofilerextension/pixmapcachemodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/qmlprofilerextension/pixmapcachemodel.cpp b/plugins/qmlprofilerextension/pixmapcachemodel.cpp index 4289abe4da5..a2f3b4fb472 100644 --- a/plugins/qmlprofilerextension/pixmapcachemodel.cpp +++ b/plugins/qmlprofilerextension/pixmapcachemodel.cpp @@ -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))); |
