kcms/compositing: remove tearing setting

It's now shown in KScreen instead
This commit is contained in:
Xaver Hugl 2023-10-31 17:40:34 +01:00
parent ba3a70e8a8
commit b1f2c40827
3 changed files with 0 additions and 14 deletions

View file

@ -207,13 +207,6 @@ you can reset this protection but be aware that this might result in an immediat
</item>
</widget>
</item>
<item row="15" column="1">
<widget class="QCheckBox" name="kcfg_AllowTearing">
<property name="text">
<string>Reduce latency by allowing screen tearing artifacts in fullscreen windows</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>

View file

@ -44,11 +44,5 @@
</choices>
<default>LatencyExtremelyHigh</default>
</entry>
<entry name="AllowTearing" type="Bool">
<default>true</default>
</entry>
</group>
</kcfg>

View file

@ -84,7 +84,6 @@ KWinCompositingKCM::KWinCompositingKCM(QObject *parent, const KPluginMetaData &d
m_form.kcfg_Enabled->setVisible(!compositingRequired());
m_form.kcfg_WindowsBlockCompositing->setVisible(!compositingRequired());
m_form.compositingLabel->setVisible(!compositingRequired());
m_form.kcfg_AllowTearing->setVisible(compositingRequired());
connect(this, &KWinCompositingKCM::defaultsIndicatorsVisibleChanged, this, &KWinCompositingKCM::updateUnmanagedItemStatus);