diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-05-21 15:37:52 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-06-07 08:26:19 +0000 |
commit | 6247e30afb0ee972f553f3905d893d2d586c6252 (patch) | |
tree | e65f8cd5f1cfcc949872eeba3ce69636369c51d1 /tools/qmlprofiler/main.cpp | |
parent | aa68eab142c5e2106ab0c5e3a4bde6adfa550328 (diff) |
qmlprofiler: Output data after application quits in non-interactive mode
Change-Id: I38abed0d5af3bcc7be5fa9e21bde14be40a3ce1d
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools/qmlprofiler/main.cpp')
-rw-r--r-- | tools/qmlprofiler/main.cpp | 4 |
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; } } |