aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/pixmapcachemodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-05-11 13:58:20 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-05-23 11:44:13 +0000
commit1093be042513e643fe11e364164d59f11476ba27 (patch)
treedd0f2adfc26d3ec66e4c7131dad41495992b1b9f /src/plugins/qmlprofiler/pixmapcachemodel.cpp
parent46e043ed1ed273b2dd8b4a000f6644c8ca1d09f1 (diff)
QmlProfiler: Remove detailed progress tracking
The progress bar in the state widget was rather meaningless. We rarely know how many events we expect and it's rather hard to tell how long each model will take to process them. Instead, we just show a 0-ranged progress bar to tell the user that "something is happening". Change-Id: Icb80840d1f0a1538bcf254faa37cbb36e25d342c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/pixmapcachemodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/pixmapcachemodel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/qmlprofiler/pixmapcachemodel.cpp b/src/plugins/qmlprofiler/pixmapcachemodel.cpp
index 37392181d14..384ebe975b4 100644
--- a/src/plugins/qmlprofiler/pixmapcachemodel.cpp
+++ b/src/plugins/qmlprofiler/pixmapcachemodel.cpp
@@ -397,8 +397,6 @@ void PixmapCacheModel::loadData()
default:
break;
}
-
- updateProgress(count(), 2 * simpleModel->events().count());
}
if (lastCacheSizeEvent != -1)
@@ -410,8 +408,6 @@ void PixmapCacheModel::loadData()
computeMaxCacheSize();
flattenLoads();
computeNesting();
-
- updateProgress(1, 1);
}
void PixmapCacheModel::clear()