From f49fbe7f582737efbd65c737da782af8473b9224 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Mon, 4 Oct 2021 12:19:43 +0300 Subject: [PATCH] Android: set the deploy step widget to expanded by default The deploy step widget most useful aspect is the uninstall before deploy checkbox, and having it expanded by default would improve the UX a bit by avoiding one extra mouse click. Change-Id: I23ebc90daf9290d229d93dca1b9b25629902e3f2 Reviewed-by: Alessandro Portale --- src/plugins/android/androiddeployqtstep.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/android/androiddeployqtstep.cpp b/src/plugins/android/androiddeployqtstep.cpp index 8c50c7a52c2..0910f483d69 100644 --- a/src/plugins/android/androiddeployqtstep.cpp +++ b/src/plugins/android/androiddeployqtstep.cpp @@ -88,10 +88,11 @@ AndroidDeployQtStep::AndroidDeployQtStep(BuildStepList *parent, Utils::Id id) : BuildStep(parent, id) { setImmutable(true); + setUserExpanded(true); m_uninstallPreviousPackage = addAspect(); m_uninstallPreviousPackage->setSettingsKey(UninstallPreviousPackageKey); - m_uninstallPreviousPackage->setLabel(tr("Uninstall the existing app first"), + m_uninstallPreviousPackage->setLabel(tr("Uninstall the existing app before deployment"), BoolAspect::LabelPlacement::AtCheckBox); m_uninstallPreviousPackage->setValue(false);