summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp b/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp
index 05dc7503b0..8943f100ac 100644
--- a/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerstatewidget.cpp
@@ -206,18 +206,18 @@ void QmlProfilerStateWidget::showText(const QString &text, bool showProgress)
void QmlProfilerStateWidget::updateDisplay()
{
- // When datamodel is acquiring data
- if (!d->loadingDone && !d->emptyList && !d->appKilled) {
- showText(tr("Loading data"), true);
- return;
- }
-
// When application is being profiled
if (d->isRecording) {
showText(tr("Profiling application"));
return;
}
+ // When datamodel is acquiring data
+ if (!d->loadingDone && !d->emptyList && !d->appKilled) {
+ showText(tr("Loading data"), true);
+ return;
+ }
+
// After profiling, there is an empty trace
if (d->traceAvailable && d->loadingDone && d->emptyList) {
showText(tr("No QML events recorded"));