forked from qt-creator/qt-creator
Git: Remove redundant check
outputWindow() cannot be null. Change-Id: Ie50bff33a3590a20e9de6b2602dac9cd70eb77bc Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
9376c24fd0
commit
75c15d1f9d
@@ -1459,8 +1459,7 @@ VcsBase::Command *GitClient::createCommand(const QString &workingDirectory,
|
||||
connect(command, SIGNAL(outputData(QByteArray)), editor, SLOT(setPlainTextDataFiltered(QByteArray)));
|
||||
}
|
||||
|
||||
if (outputWindow())
|
||||
connect(command, SIGNAL(errorText(QString)), outputWindow(), SLOT(appendError(QString)));
|
||||
connect(command, SIGNAL(errorText(QString)), outputWindow(), SLOT(appendError(QString)));
|
||||
return command;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user