summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qml/MainView.qml
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-06-06 17:36:11 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-06-16 12:17:49 +0200
commitaccc92ae4783da671a26940c61b93dd2656f457d (patch)
tree8c7b42d37ff52caa65882c8a4e5a7672d8bbd5d1 /src/plugins/qmlprofiler/qml/MainView.qml
parenteef83495ea53c0c65ddbf7bfca15bb43957f2939 (diff)
downloadqt-creator-accc92ae4783da671a26940c61b93dd2656f457d.tar.gz
QmlProfiler: Allow only one category per model in timeline
This simplifies the code a lot and allows for more flexibility when interacting with the data. Change-Id: I69630071eee66840e905fcd95ba8c708742d58b6 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qml/MainView.qml')
-rw-r--r--src/plugins/qmlprofiler/qml/MainView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qml/MainView.qml b/src/plugins/qmlprofiler/qml/MainView.qml
index d79deec25e..db38cab72f 100644
--- a/src/plugins/qmlprofiler/qml/MainView.qml
+++ b/src/plugins/qmlprofiler/qml/MainView.qml
@@ -208,7 +208,7 @@ Rectangle {
color: root.color
height: col.height
- property int rowCount: qmlProfilerModelProxy.categoryCount();
+ property int rowCount: qmlProfilerModelProxy.modelCount();
Column {
id: col