Commit 410ae45c authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProfiler: Make sure details for bindings are shown in Events pane



React to a second changed() signal from the simple model that is
emitted after the binding text has been retrieved from the local files.
This will rebuild the whole model effectively twice ... ideally we'd
just update the text, but it shouldn't be a performance problem, either.

Change-Id: I71a47f0faddd3938711e2e190f1e9c961be343e4
Reviewed-by: default avatarUlf Hermann <ulf.hermann@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 56256a20
......@@ -96,11 +96,10 @@ void QmlProfilerEventsModelProxy::limitToRange(qint64 rangeStart, qint64 rangeEn
void QmlProfilerEventsModelProxy::dataChanged()
{
if (d->modelManager->state() == QmlProfilerDataState::ProcessingData)
loadData();
if (d->modelManager->state() == QmlProfilerDataState::Empty)
clear();
else
loadData();
}
QSet<QString> QmlProfilerEventsModelProxy::eventsInBindingLoop() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment