[kcmkwin/compositing] Fix ordering of items in keep window thumbnail combo box
BUG: 343399 FIXED-IN: 5.2.1 REVIEW: 122424
This commit is contained in:
parent
11fd9f69c1
commit
04d6bd2874
2 changed files with 3 additions and 3 deletions
|
@ -200,7 +200,7 @@
|
||||||
<widget class="QComboBox" name="windowThumbnail">
|
<widget class="QComboBox" name="windowThumbnail">
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Always</string>
|
<string>Never</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -210,7 +210,7 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Never</string>
|
<string>Always</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -158,7 +158,7 @@ void KWinCompositingSettings::init()
|
||||||
connect(m_form.windowThumbnail, currentIndexChangedSignal, m_compositing, &Compositing::setWindowThumbnail);
|
connect(m_form.windowThumbnail, currentIndexChangedSignal, m_compositing, &Compositing::setWindowThumbnail);
|
||||||
connect(m_form.windowThumbnail, currentIndexChangedSignal,
|
connect(m_form.windowThumbnail, currentIndexChangedSignal,
|
||||||
[this](int index) {
|
[this](int index) {
|
||||||
if (index == 0) {
|
if (index == 2) {
|
||||||
m_form.windowThumbnailWarning->animatedShow();
|
m_form.windowThumbnailWarning->animatedShow();
|
||||||
} else {
|
} else {
|
||||||
m_form.windowThumbnailWarning->animatedHide();
|
m_form.windowThumbnailWarning->animatedHide();
|
||||||
|
|
Loading…
Reference in a new issue