forked from qt-creator/qt-creator
Valgrind: Minor cleanup
Change-Id: I8457accbec28773de24d2921530a6c437de0d9ac Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -169,8 +169,7 @@ QProcess::ProcessError ValgrindProcess::error() const
|
|||||||
|
|
||||||
void ValgrindProcess::handleError(QSsh::SshError error)
|
void ValgrindProcess::handleError(QSsh::SshError error)
|
||||||
{
|
{
|
||||||
if (isLocal()) {
|
if (!isLocal()) {
|
||||||
} else {
|
|
||||||
switch (error) {
|
switch (error) {
|
||||||
case QSsh::SshTimeoutError:
|
case QSsh::SshTimeoutError:
|
||||||
m_remote.m_error = QProcess::Timedout;
|
m_remote.m_error = QProcess::Timedout;
|
||||||
|
|||||||
Reference in New Issue
Block a user