mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 20:31:53 -05:00
Commands: removed debug messages on event handlers
This commit is contained in:
parent
7ef6964982
commit
9de6aabee6
@ -247,7 +247,7 @@ const QString& Command::getLastProcessLog() const
|
|||||||
|
|
||||||
void Command::processStateChanged(QProcess::ProcessState newState)
|
void Command::processStateChanged(QProcess::ProcessState newState)
|
||||||
{
|
{
|
||||||
qDebug("Command::processStateChanged: %d", newState);
|
//qDebug("Command::processStateChanged: %d", newState);
|
||||||
if (newState == QProcess::Running) {
|
if (newState == QProcess::Running) {
|
||||||
m_currentProcessPid = m_currentProcess->processId();
|
m_currentProcessPid = m_currentProcess->processId();
|
||||||
}
|
}
|
||||||
@ -257,7 +257,7 @@ void Command::processStateChanged(QProcess::ProcessState newState)
|
|||||||
|
|
||||||
void Command::processError(QProcess::ProcessError error)
|
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);
|
gettimeofday(&m_currentProcessFinishTimeStamp, 0);
|
||||||
m_currentProcessError = error;
|
m_currentProcessError = error;
|
||||||
m_isInError = true;
|
m_isInError = true;
|
||||||
@ -281,7 +281,7 @@ void Command::processError(QProcess::ProcessError error)
|
|||||||
|
|
||||||
void Command::processFinished(int exitCode, QProcess::ExitStatus exitStatus)
|
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);
|
gettimeofday(&m_currentProcessFinishTimeStamp, 0);
|
||||||
m_currentProcessExitCode = exitCode;
|
m_currentProcessExitCode = exitCode;
|
||||||
m_currentProcessExitStatus = exitStatus;
|
m_currentProcessExitStatus = exitStatus;
|
||||||
|
@ -19,6 +19,10 @@
|
|||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Command output</string>
|
<string>Command output</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset resource="../resources/res.qrc">
|
||||||
|
<normaloff>:/sdrangel_icon.png</normaloff>:/sdrangel_icon.png</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="processLayout">
|
<layout class="QHBoxLayout" name="processLayout">
|
||||||
|
Loading…
Reference in New Issue
Block a user