Enable effects by the service file should always be enabled,
if there is not a relevant entry in the kwinrc
This commit is contained in:
parent
d5a6dff6dd
commit
de7b09b011
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ void EffectModel::loadEffects()
|
|||
effect.version = plugin.version();
|
||||
effect.category = plugin.category();
|
||||
effect.serviceName = plugin.pluginName();
|
||||
effect.effectStatus = kwinConfig.readEntry(effect.serviceName + "Enabled", false);
|
||||
effect.effectStatus = kwinConfig.hasKey(effect.serviceName + "Enabled")? kwinConfig.readEntry(effect.serviceName + "Enabled", false) : plugin.isPluginEnabledByDefault();
|
||||
|
||||
m_effectsList << effect;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue