forked from qt-creator/qt-creator
Qnx: Remove redundant null validation
Change-Id: I6b4971cc41bbec5c2cd8e3146622d5409fe10e69 Reviewed-by: Mehdi Fekari <mfekari@blackberry.com> Reviewed-by: David Kaspar <dkaspar@blackberry.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
00d58f0c45
commit
327abfb30b
@@ -193,7 +193,7 @@ void BlackBerryAbstractDeployStep::raiseError(const QString &errorMessage)
|
||||
void BlackBerryAbstractDeployStep::processReadyReadStdOutput()
|
||||
{
|
||||
m_process->setReadChannel(QProcess::StandardOutput);
|
||||
while (m_process && m_process->canReadLine()) {
|
||||
while (m_process->canReadLine()) {
|
||||
const QString line = QString::fromLocal8Bit(m_process->readLine());
|
||||
stdOutput(line);
|
||||
}
|
||||
@@ -208,7 +208,7 @@ void BlackBerryAbstractDeployStep::stdOutput(const QString &line)
|
||||
void BlackBerryAbstractDeployStep::processReadyReadStdError()
|
||||
{
|
||||
m_process->setReadChannel(QProcess::StandardError);
|
||||
while (m_process && m_process->canReadLine()) {
|
||||
while (m_process->canReadLine()) {
|
||||
const QString line = QString::fromLocal8Bit(m_process->readLine());
|
||||
stdError(line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user