From 9de6aabee6a5e9dbb4693ab466b44a51ffefa467 Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 5 Jan 2018 02:13:15 +0100 Subject: [PATCH] Commands: removed debug messages on event handlers --- sdrbase/commands/command.cpp | 6 +++--- sdrgui/gui/commandoutputdialog.ui | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sdrbase/commands/command.cpp b/sdrbase/commands/command.cpp index 09cffa187..4e82037b0 100644 --- a/sdrbase/commands/command.cpp +++ b/sdrbase/commands/command.cpp @@ -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; diff --git a/sdrgui/gui/commandoutputdialog.ui b/sdrgui/gui/commandoutputdialog.ui index 061b75d6b..8ee6be6bb 100644 --- a/sdrgui/gui/commandoutputdialog.ui +++ b/sdrgui/gui/commandoutputdialog.ui @@ -19,6 +19,10 @@ Command output + + + :/sdrangel_icon.png:/sdrangel_icon.png +