Commit 01d6d5ea authored by Mehdi Fekari's avatar Mehdi Fekari Committed by Nicolas Arnaud-Cormos
Browse files

Qnx: Display output logs when restarting the application



Call immediately tailApplication() if m_slog2infoFound is true.

Change-Id: I9233a1f9e6f4843ab9af8b40c18e8766c8431677
Reviewed-by: default avatarTobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: default avatarWolfgang Bremer <wbremer@rim.com>
Reviewed-by: Nicolas Arnaud-Cormos's avatarNicolas Arnaud-Cormos <nicolas@kdab.com>
parent 2e3a88b5
......@@ -84,7 +84,7 @@ using namespace Qnx::Internal;
BlackBerryApplicationRunner::BlackBerryApplicationRunner(bool debugMode, BlackBerryRunConfiguration *runConfiguration, QObject *parent)
: QObject(parent)
, m_debugMode(debugMode)
, m_slog2infoFound(true)
, m_slog2infoFound(false)
, m_pid(-1)
, m_appId(QString())
, m_running(false)
......@@ -146,8 +146,9 @@ void BlackBerryApplicationRunner::start()
void BlackBerryApplicationRunner::checkSlog2Info()
{
// Not necessary to retest if slog2info exists.
if (!m_testSlog2Process) {
if (m_slog2infoFound) {
tailApplicationLog();
} else if (!m_testSlog2Process) {
m_testSlog2Process = new QSsh::SshRemoteProcessRunner(this);
connect(m_testSlog2Process, SIGNAL(processClosed(int)),
this, SLOT(handleSlog2InfoFound()));
......
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