DaemonManager: console debug output

This commit is contained in:
Jacob Brydolf
2016-11-07 15:00:14 +01:00
committed by Jaquee
parent 14a5bd5dcc
commit 7840dab9cc
2 changed files with 2 additions and 12 deletions

View File

@@ -80,9 +80,8 @@ void DaemonManager::printOutput()
QStringList strLines = QString(byteArray).split("\n");
foreach (QString line, strLines){
// dConsole.append(line+"\n");
emit daemonConsoleUpdated(line);
// qDebug() << "Daemon: " + line;
qDebug() << "Daemon: " + line;
}
}
@@ -92,9 +91,8 @@ void DaemonManager::printError()
QStringList strLines = QString(byteArray).split("\n");
foreach (QString line, strLines){
// dConsole.append(line+"\n");
emit daemonConsoleUpdated(line);
// qDebug() << "Daemon ERROR: " + line;
qDebug() << "Daemon ERROR: " + line;
}
}
@@ -109,12 +107,6 @@ bool DaemonManager::running() const
return false;
}
QString DaemonManager::console() const
{
return dConsole;
}
DaemonManager::DaemonManager(QObject *parent)
: QObject(parent)
{