From 20bee006811633cbf1efa5f667a429e1f23b778f Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Sat, 13 Jan 2024 00:04:27 +0100 Subject: [PATCH] kcms/tabbox: Fix preview for show desktop option Use the correct config option to decide whether to show the desktop thumbnail on preview. "DesktopMode" refers to filter by desktop. --- src/kcms/tabbox/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kcms/tabbox/main.cpp b/src/kcms/tabbox/main.cpp index 882c7221e0..5798d53c26 100644 --- a/src/kcms/tabbox/main.cpp +++ b/src/kcms/tabbox/main.cpp @@ -265,7 +265,7 @@ void KWinTabBoxConfig::configureEffectClicked() if (form->effectComboCurrentData(KWinTabBoxConfigForm::AddonEffect).toBool()) { // Show the preview for addon effect new LayoutPreview(form->effectComboCurrentData(KWinTabBoxConfigForm::LayoutPath).toString(), - form->config()->desktopMode(), + form->config()->showDesktopMode(), this); } }