Diffusion KWin 6184278becad

Fix for failing testScriptedEffectsLoader

Authored by graesslin on Nov 16 2016, 3:53 PM.

Description

Fix for failing testScriptedEffectsLoader

By changing the loading of scripted effect config to interact with
kwinApp we broke the tests which do not use a kwinApp.

This change turns the access to the KSharedConfigPtr go through the
property system, so that the tests can also install a dummy
KSharedConfigPtr. With that scripted effects loader test passes and no
longer crashes and the integration/effects tests also still pass.

Details

Committed
graesslinNov 16 2016, 3:53 PM
Parents
R108:1c819c5e86bc: Drop EffectsHandler::effectsConfig
Branches
Unknown
Tags
Unknown