aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlprofiler/main.cpp')
-rw-r--r--tools/qmlprofiler/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qmlprofiler/main.cpp b/tools/qmlprofiler/main.cpp
index 5496072eb2..12fcc79efa 100644
--- a/tools/qmlprofiler/main.cpp
+++ b/tools/qmlprofiler/main.cpp
@@ -53,6 +53,8 @@ int main(int argc, char *argv[])
listenerThread.wait();
return exitValue;
} else {
- return app.exec();
+ int exitValue = app.exec();
+ app.outputData();
+ return exitValue;
}
}