summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@digia.com>2014-07-10 11:05:30 +0200
committerRainer Keller <rainer.keller@digia.com>2014-07-10 16:42:05 +0300
commit7180862844fcc4460923224f13c8b2d4dd540e9b (patch)
treeb027589d09a3c345e7c30197ac729dcdb0be13fd
parent7969f45f90a1051b253bfb3f5a4d368e824b05f9 (diff)
Print crashed application binary
This is used to detect which application has crashed. Change-Id: I5bc4aba7d2f1a8e15f0fb58f444c2b243a2c8a22 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
-rw-r--r--process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.cpp b/process.cpp
index 6321c87..18faead 100644
--- a/process.cpp
+++ b/process.cpp
@@ -150,7 +150,7 @@ void Process::error(QProcess::ProcessError error)
analyzeBinary(mBinary);
break;
case QProcess::Crashed:
- printf("Crashed\n");
+ printf("Application crashed: %s\n", qPrintable(mBinary));
break;
case QProcess::Timedout:
printf("Timedout\n");