[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">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Always</string>
|
||||
<string>Never</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -210,7 +210,7 @@
|
|||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Never</string>
|
||||
<string>Always</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
|
|
|
@ -158,7 +158,7 @@ void KWinCompositingSettings::init()
|
|||
connect(m_form.windowThumbnail, currentIndexChangedSignal, m_compositing, &Compositing::setWindowThumbnail);
|
||||
connect(m_form.windowThumbnail, currentIndexChangedSignal,
|
||||
[this](int index) {
|
||||
if (index == 0) {
|
||||
if (index == 2) {
|
||||
m_form.windowThumbnailWarning->animatedShow();
|
||||
} else {
|
||||
m_form.windowThumbnailWarning->animatedHide();
|
||||
|
|
Loading…
Reference in a new issue