diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-02-17 14:25:24 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-02-26 16:19:27 +0000 |
commit | d2892026c8eb979c046b14095f82f4f69218717f (patch) | |
tree | f792256151ece9859b87a4a213540feb4336adc6 /src/plugins/qmlprofiler/qv8profilerdatamodel.h | |
parent | 5515d0308e1a38b7b5a5665a2e3fd6bd92626c5b (diff) | |
download | qt-creator-d2892026c8eb979c046b14095f82f4f69218717f.tar.gz |
QmlProfiler: fix progress bar visibilty for loading traces
Move the main part of the loading work into a background thread
and show the standard progress indicator for the "reading file"
part of the load operation.
The load operation can be canceled now.
Change-Id: I4cb3b762072ab4a0665dcf9d4a39d6d6630d22e8
Task-number: QTCREATORBUG-11822
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qv8profilerdatamodel.h')
-rw-r--r-- | src/plugins/qmlprofiler/qv8profilerdatamodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qv8profilerdatamodel.h b/src/plugins/qmlprofiler/qv8profilerdatamodel.h index af65089677..9070821256 100644 --- a/src/plugins/qmlprofiler/qv8profilerdatamodel.h +++ b/src/plugins/qmlprofiler/qv8profilerdatamodel.h @@ -89,7 +89,7 @@ public: qint64 v8MeasuredTime() const; void save(QXmlStreamWriter &stream, QFutureInterface<void> *future = 0); - void load(QXmlStreamReader &stream); + void load(QXmlStreamReader &stream, QFutureInterface<void> *future = 0); void complete(); |