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;