kcmkwin/compositing: Hide Compositing label on Wayland

All compositing checkboxes are invisible on Wayland, so hide the
compositing label.
This commit is contained in:
Vlad Zahorodnii 2021-11-15 09:05:22 +02:00
parent 7013c1473c
commit 29235e122d

View file

@ -83,6 +83,7 @@ KWinCompositingKCM::KWinCompositingKCM(QWidget *parent, const QVariantList &args
m_form.kcfg_Enabled->setVisible(!compositingRequired());
m_form.kcfg_WindowsBlockCompositing->setVisible(!compositingRequired());
m_form.compositingLabel->setVisible(!compositingRequired());
connect(this, &KWinCompositingKCM::defaultsIndicatorsVisibleChanged, this, &KWinCompositingKCM::updateUnmanagedItemStatus);