Commands: removed debug messages on event handlers

pull/127/head
f4exb 2018-01-05 02:13:15 +01:00
rodzic 7ef6964982
commit 9de6aabee6
2 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -247,7 +247,7 @@ const QString& Command::getLastProcessLog() const
void Command::processStateChanged(QProcess::ProcessState newState)
{
qDebug("Command::processStateChanged: %d", newState);
//qDebug("Command::processStateChanged: %d", newState);
if (newState == QProcess::Running) {
m_currentProcessPid = m_currentProcess->processId();
}
@ -257,7 +257,7 @@ void Command::processStateChanged(QProcess::ProcessState newState)
void Command::processError(QProcess::ProcessError error)
{
qDebug("Command::processError: %d state: %d", error, m_currentProcessState);
//qDebug("Command::processError: %d state: %d", error, m_currentProcessState);
gettimeofday(&m_currentProcessFinishTimeStamp, 0);
m_currentProcessError = error;
m_isInError = true;
@ -281,7 +281,7 @@ void Command::processError(QProcess::ProcessError error)
void Command::processFinished(int exitCode, QProcess::ExitStatus exitStatus)
{
qDebug("Command::processFinished: (%d) %d", exitCode, exitStatus);
//qDebug("Command::processFinished: (%d) %d", exitCode, exitStatus);
gettimeofday(&m_currentProcessFinishTimeStamp, 0);
m_currentProcessExitCode = exitCode;
m_currentProcessExitStatus = exitStatus;

Wyświetl plik

@ -19,6 +19,10 @@
<property name="windowTitle">
<string>Command output</string>
</property>
<property name="windowIcon">
<iconset resource="../resources/res.qrc">
<normaloff>:/sdrangel_icon.png</normaloff>:/sdrangel_icon.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="processLayout">