[kdecoration2] DecorationSettings takes DecorationBridge in ctor

This commit is contained in:
Martin Gräßlin 2014-10-29 16:51:31 +01:00
parent a7bcb70980
commit 69c3233ead

View file

@ -76,7 +76,7 @@ QString DecorationBridge::readTheme() const
void DecorationBridge::init() void DecorationBridge::init()
{ {
m_plugin = readPlugin(); m_plugin = readPlugin();
m_settings = QSharedPointer<KDecoration2::DecorationSettings>::create(); m_settings = QSharedPointer<KDecoration2::DecorationSettings>::create(this);
initPlugin(); initPlugin();
} }