diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-06-14 15:47:32 +0200 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@digia.com> | 2013-06-17 12:59:15 +0300 |
commit | bd5e7091895a7e3e31add4577233ef9c781ea5a4 (patch) | |
tree | 242516ddcec3780252d53056a956c5f400b321aa | |
parent | 35d9037732bdc581d3578650bd438e4eb964d298 (diff) |
Fix rendering of timeline for QtQuick1
Don't check for state of client in dataChanged signal.
Change-Id: I17b4e64737c307447d1ec364218c1d55cd3f706c
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
-rw-r--r-- | plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp b/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp index 1a09b9b25d..fc4ea6cabf 100644 --- a/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp +++ b/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp @@ -130,11 +130,7 @@ void BasicTimelineModel::clear() void BasicTimelineModel::dataChanged() { - if (m_modelManager->state() == QmlProfilerDataState::Done) - loadData(); - - if (m_modelManager->state() == QmlProfilerDataState::Empty) - clear(); + loadData(); emit stateChanged(); emit dataAvailable(); |