Commit 327abfb3 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tobias Hunger

Qnx: Remove redundant null validation

Change-Id: I6b4971cc41bbec5c2cd8e3146622d5409fe10e69
Reviewed-by: default avatarMehdi Fekari <mfekari@blackberry.com>
Reviewed-by: default avatarDavid Kaspar <dkaspar@blackberry.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 00d58f0c
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment