summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-08-10 17:00:03 +0200
committerhjk <hjk@qt.io>2017-08-10 15:22:54 +0000
commit4048629d1a5940032267f80e44c6032e881abd4e (patch)
tree513f37823350b67dc6d6bbfecf39066f2e2a0f1e
parent90d152ac079f3e8ec0123a52b64b0a6ea6a3117d (diff)
downloadqt-creator-4048629d1a5940032267f80e44c6032e881abd4e.tar.gz
Qnx: Create slog2 runner processes at more reasonable times
89f02cba2ca65f introduced a regression. Change-Id: I3ae4ecc7f2dfcd477ffe7a277a87acd90aad5339 Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--src/plugins/qnx/slog2inforunner.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/qnx/slog2inforunner.cpp b/src/plugins/qnx/slog2inforunner.cpp
index 3bde0d4301..527dc16ceb 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<QnxRunConfiguration *>(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;