From 4048629d1a5940032267f80e44c6032e881abd4e Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 10 Aug 2017 17:00:03 +0200 Subject: [PATCH] Qnx: Create slog2 runner processes at more reasonable times 89f02cba2ca65f introduced a regression. Change-Id: I3ae4ecc7f2dfcd477ffe7a277a87acd90aad5339 Reviewed-by: Dan Cape Reviewed-by: Christian Kandeler --- src/plugins/qnx/slog2inforunner.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/qnx/slog2inforunner.cpp b/src/plugins/qnx/slog2inforunner.cpp index 3bde0d43010..527dc16ceb9 100644 --- a/src/plugins/qnx/slog2inforunner.cpp +++ b/src/plugins/qnx/slog2inforunner.cpp @@ -46,11 +46,7 @@ Slog2InfoRunner::Slog2InfoRunner(RunControl *runControl) auto qnxRunConfig = qobject_cast(runControl->runConfiguration()); QTC_ASSERT(qnxRunConfig, return); m_applicationId = FileName::fromString(qnxRunConfig->remoteExecutableFilePath()).fileName(); -} -void Slog2InfoRunner::printMissingWarning() -{ - appendMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available."), ErrorMessageFormat); // See QTCREATORBUG-10712 for details. // We need to limit length of ApplicationId to 63 otherwise it would not match one in slog2info. m_applicationId.truncate(63); @@ -69,6 +65,11 @@ void Slog2InfoRunner::printMissingWarning() connect(m_logProcess, &DeviceProcess::finished, this, &Slog2InfoRunner::finished); } +void Slog2InfoRunner::printMissingWarning() +{ + appendMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available."), ErrorMessageFormat); +} + void Slog2InfoRunner::start() { StandardRunnable r;