summaryrefslogtreecommitdiffstats
path: root/kcontrol/taskbar/kcmtaskbar.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2022-05-12 15:48:38 +0300
committerMichele Calgaro <[email protected]>2022-09-05 12:48:59 +0900
commite94cb59fe2a100841effc1202f4211de2ba12799 (patch)
treee5c2c08629d5883b5ce029c125c30f012c5c4a1c /kcontrol/taskbar/kcmtaskbar.cpp
parentb7d9ed80a3bff45ef563b71bad4d240ebfd03d67 (diff)
downloadtdebase-e94cb59fe2a100841effc1202f4211de2ba12799.tar.gz
tdebase-e94cb59fe2a100841effc1202f4211de2ba12799.zip
KCMTaskbar: various adjustments
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kcontrol/taskbar/kcmtaskbar.cpp')
-rw-r--r--kcontrol/taskbar/kcmtaskbar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp
index bb7a7a8b9..c93bf600c 100644
--- a/kcontrol/taskbar/kcmtaskbar.cpp
+++ b/kcontrol/taskbar/kcmtaskbar.cpp
@@ -304,6 +304,7 @@ void TaskbarConfig::processLockouts()
m_widget->globalConfigReload->hide();
m_widget->globalConfigEdit->hide();
m_widget->kcfg_UseGlobalSettings->hide();
+ m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::Maximum);
}
else {
m_widget->globalConfigWarning->hide();
@@ -313,6 +314,7 @@ void TaskbarConfig::processLockouts()
m_widget->tabs->hide();
m_widget->globalConfigReload->hide();
m_widget->globalConfigEdit->show();
+ m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::MinimumExpanding);
}
else {
m_widget->tabs->show();
@@ -321,6 +323,7 @@ void TaskbarConfig::processLockouts()
//m_widget->globalConfigReload->show();
m_widget->globalConfigReload->hide();
m_widget->globalConfigEdit->hide();
+ m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::Maximum);
}
}
@@ -416,6 +419,7 @@ void TaskbarConfig::appearanceChanged(int selected)
{
m_widget->customAppearance->setEnabled(true);
updateCustomAppearance();
+ unmanagedWidgetChangeState(true);
}
}