Commit f2be6022 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii Committed by Merge Service
Browse files

kcms/touch: Fix crash

"effects" is a typo, we need to populate "m_scripts"

BUG: 454360
Tested-by: Merge Service <!2465>
Part-of: <!2465>
parent e57be931
Pipeline #180716 passed with stage
in 14 minutes and 17 seconds
......@@ -165,7 +165,7 @@ void KWinScreenEdgesConfig::monitorInit()
if (!config.readEntry(script.pluginId() + QStringLiteral("Enabled"), script.isEnabledByDefault())) {
continue;
}
m_effects << script.pluginId();
m_scripts << script.pluginId();
m_form->monitorAddItem(script.name());
m_scriptSettings[script.pluginId()] = new KWinTouchScreenScriptSettings(script.pluginId(), this);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment