summaryrefslogtreecommitdiffstats
path: root/src/sdk/tabcontroller.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2016-04-08 10:44:48 +0300
committerKatja Marttila <katja.marttila@qt.io>2023-03-23 16:43:27 +0200
commitf25efeed5aeadbe2f477a4330d29da52617db083 (patch)
tree4a6b02df02f5557b8795342291b86068afc566d5 /src/sdk/tabcontroller.cpp
parente07cbae2cc1ae113fea71d0e6da6bcee148a0055 (diff)
Fix showSettingsButton functionality4.5
showSettingsButton() called from control script had no effect. Fixed it so that if showSettingsButton will overwrite the IFW decision to show the settings button. Change-Id: Ia08c03cc13db58168fd371f230517bcc83ee0e12 Task-number: QTIFW-810 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/sdk/tabcontroller.cpp')
-rw-r--r--src/sdk/tabcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/tabcontroller.cpp b/src/sdk/tabcontroller.cpp
index cb3242841..6edc758a5 100644
--- a/src/sdk/tabcontroller.cpp
+++ b/src/sdk/tabcontroller.cpp
@@ -222,7 +222,7 @@ void TabController::onCurrentIdChanged(int newId)
{
if (d->m_gui) {
if (PackageManagerPage *page = qobject_cast<PackageManagerPage *>(d->m_gui->page(newId)))
- d->m_gui->showSettingsButton(page->settingsButtonRequested());
+ d->m_gui->requestSettingsButtonByInstaller(page->settingsButtonRequested());
}
}