diff options
author | Rainer Keller <rainer.keller@digia.com> | 2014-04-03 16:19:40 +0200 |
---|---|---|
committer | Rainer Keller <rainer.keller@digia.com> | 2014-04-07 11:36:12 +0300 |
commit | 7e3f7fab8ed8a7c79e4e136c4abbc1887a5f3152 (patch) | |
tree | 4825e446cf87ec2832e1c6325f7e4aebaf7a1e52 | |
parent | 0110773644c08be5d7a7f686b42d68544109d81c (diff) |
Use printf to output information
Change-Id: I7807ef0a072b9559c618b80bd85d875de1260ce0
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r-- | process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/process.cpp b/process.cpp index 32ad853..6321c87 100644 --- a/process.cpp +++ b/process.cpp @@ -171,9 +171,9 @@ void Process::error(QProcess::ProcessError error) void Process::finished(int exitCode, QProcess::ExitStatus exitStatus) { if (exitStatus == QProcess::NormalExit) - qDebug() << "Process exited with exitcode" << exitCode; + printf("Process exited with exit code %d\n", exitCode); else - qDebug() << "Process stopped"; + printf("Process stopped\n"); } void Process::startup(QStringList args) @@ -212,7 +212,7 @@ void Process::start(const QStringList &args) void Process::stop() { if (mProcess->state() == QProcess::QProcess::NotRunning) { - qDebug() << "No process running"; + printf("No process running\n"); qApp->exit(); return; } |