summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2021-01-14 11:13:57 +0200
committerKatja Marttila <katja.marttila@qt.io>2021-01-20 10:45:23 +0200
commitbf7e1bea802321590112c83f65772a87de34f878 (patch)
treeba932bb1c290bdff98d1f1420bf1c15f1ffbffdd
parent220d11862631f3ae75db19e7acd61fe555e42b22 (diff)
Fix wizard page addition before ComponentSelectionPage
Wizard page was not able to be added in front of ComponentSelectionPage from script as ComponentSelectionPage was forced to be shown after IntroductionPage in maintenancetool. Removed the forced value so that installer can decide the next page according to nextId. Task-number: QTIFW-1168 Change-Id: I8c13b7f49f0364f777b1fcabf35796bb71fd7016 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
-rw-r--r--src/libs/installer/packagemanagergui.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libs/installer/packagemanagergui.cpp b/src/libs/installer/packagemanagergui.cpp
index 04f7770e9..9887584aa 100644
--- a/src/libs/installer/packagemanagergui.cpp
+++ b/src/libs/installer/packagemanagergui.cpp
@@ -1529,9 +1529,6 @@ int IntroductionPage::nextId() const
if (packageManagerCore()->isUninstaller())
return PackageManagerCore::ReadyForInstallation;
- if (packageManagerCore()->isMaintainer())
- return PackageManagerCore::ComponentSelection;
-
return PackageManagerPage::nextId();
}