From 7acb0d223c1df3092e199a77f3cc737291cf0440 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Fri, 12 Jun 2020 15:37:49 +0300 Subject: [PATCH] Android: describe the warning of am start args more Change-Id: I12312bfe2aaf7f56be31a9513833a65cba2b036f Reviewed-by: Alessandro Portale Reviewed-by: hjk Reviewed-by: Leena Miettinen --- src/plugins/android/androidrunconfiguration.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/android/androidrunconfiguration.cpp b/src/plugins/android/androidrunconfiguration.cpp index 41b81d1261a..aa85f0b12e2 100644 --- a/src/plugins/android/androidrunconfiguration.cpp +++ b/src/plugins/android/androidrunconfiguration.cpp @@ -120,8 +120,10 @@ AndroidRunConfiguration::AndroidRunConfiguration(Target *target, Core::Id id) amStartArgsAspect->setHistoryCompleter("Android.AmStartArgs.History"); auto warning = addAspect(); + warning->setDisplayStyle(BaseStringAspect::LabelDisplay); warning->setLabelPixmap(Icons::WARNING.pixmap()); - warning->setValue(tr("If the \"am start\" options conflict, the application might not start.")); + warning->setValue(tr("If the \"am start\" options conflict, the application might not start.\n" + "Qt Creator uses: am start -n / [-D].")); auto preStartShellCmdAspect = addAspect(); preStartShellCmdAspect->setId(Constants::ANDROID_PRESTARTSHELLCMDLIST);