kdeplasma-addons: disable windows highlight option of icontasks applet by default

that option is so bogus for any window that is maximized - as soon as the
window is highlighted it will cover the entire screen but there is option
to show preview too meaning both preview and the window may be shown. which
one should be on top tho?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-24 16:05:38 +02:00
parent 6e18f266ef
commit 686f2162e1

View file

@ -112,7 +112,7 @@ static const int constMaxIconScale = 100;
Tasks::Tasks(QObject* parent, const QVariantList &arguments) Tasks::Tasks(QObject* parent, const QVariantList &arguments)
: Plasma::Applet(parent, arguments), : Plasma::Applet(parent, arguments),
m_toolTips(TT_Instant), m_toolTips(TT_Instant),
m_highlightWindows(true), m_highlightWindows(false),
m_launcherIcons(false), m_launcherIcons(false),
m_groupClick(GC_PresentWindows), m_groupClick(GC_PresentWindows),
m_rotate(false), m_rotate(false),
@ -320,7 +320,7 @@ void Tasks::configChanged()
changed = true; changed = true;
} }
const bool highlightWindows = cg.readEntry("highlightWindows", true); const bool highlightWindows = cg.readEntry("highlightWindows", false);
if (highlightWindows != m_highlightWindows) { if (highlightWindows != m_highlightWindows) {
m_highlightWindows = highlightWindows; m_highlightWindows = highlightWindows;
changed = true; changed = true;