1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-12 11:26:11 -05:00

Commands: removed debug messages on event handlers

This commit is contained in:
f4exb 2018-01-05 02:13:15 +01:00
parent 7ef6964982
commit 9de6aabee6
2 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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">