diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 04:40:35 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-05-18 04:40:35 +0200 |
commit | 45024fa621b29141469fae412eb442ea7f40c764 (patch) | |
tree | 03a88bc1050aa72acbd45c2679746030a7719411 /backend.cpp | |
parent | ef228a6ca1a451babede95654786b94f34ab7c8a (diff) | |
download | acritoxinstaller-45024fa621b29141469fae412eb442ea7f40c764.zip acritoxinstaller-45024fa621b29141469fae412eb442ea7f40c764.tar.gz |
fixed build errors with wheezy
Diffstat (limited to 'backend.cpp')
-rw-r--r-- | backend.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backend.cpp b/backend.cpp index 977aaac..87a0145 100644 --- a/backend.cpp +++ b/backend.cpp @@ -9,7 +9,7 @@ Backend* Backend::_instance; Backend::Backend() { - qDebug("Backend::Backend() called!"); + qDebug() << "Backend::Backend() called!"; _process = new QProcess(); QTime time = QTime::currentTime(); @@ -85,7 +85,7 @@ void Backend::cfg(QString var, QString value) void Backend::exec(QString command) { - qDebug("Backend::exec(\""+command.toAscii()+"\") called!"); + qDebug() << "Backend::exec(\"" << command.toAscii() << "\") called!"; commandQueue.enqueue(command); dequeue(); } @@ -104,14 +104,14 @@ void Backend::dequeue() void Backend::exitBackend() { - qDebug("Backend::exitBackend() called!"); + qDebug() << "Backend::exitBackend() called!"; _process->kill(); _process->waitForFinished(); } void Backend::processOutput(QString line) { - qDebug("Backend: input: "+line.toAscii()); + qDebug() << "Backend: input:" << line.toAscii(); if(line.startsWith("<acritoxinstaller ")) { QString command = line.section(" ",1,1).section(">",0,0); @@ -119,7 +119,7 @@ void Backend::processOutput(QString line) if(command == "prompt") { busy = false; - qDebug("Backend: finished: "+currentCommand.toAscii()); + qDebug() << "Backend: finished:" << currentCommand.toAscii(); emit finishedCommand(currentCommand); dequeue(); } @@ -152,7 +152,7 @@ void Backend::processOutput(QString line) { data[currentData].append(line); emit receivedDataLine(currentData, line.trimmed()); - qDebug("Backend: data: "+line.toAscii()); + qDebug() << "Backend: data:" << line.toAscii(); } } |