forked from qt-creator/qt-creator
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 <alessandro.portale@qt.io>
This commit is contained in:
@@ -88,10 +88,11 @@ AndroidDeployQtStep::AndroidDeployQtStep(BuildStepList *parent, Utils::Id id)
|
||||
: BuildStep(parent, id)
|
||||
{
|
||||
setImmutable(true);
|
||||
setUserExpanded(true);
|
||||
|
||||
m_uninstallPreviousPackage = addAspect<BoolAspect>();
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user