libkwineffects: Make SceneEffect fallback to root context
QuickSceneEffect can also be instantiated by C++, for example that's the case with the overview effect. In that case, qmlContext() is not going to return a valid context because the effect has not been created by a QQmlEngine. In that case, use the root context as the parent context.master
parent
aa57e9130b
commit
2c29dfd596
Loading…
Reference in New Issue