Call ::init() on created KDecoration2::Decoration
This commit is contained in:
parent
447fed7e37
commit
a104d9dc62
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ KDecoration2::Decoration *DecorationBridge::createDecoration(Client *client)
|
|||
if (!m_factory) {
|
||||
return nullptr;
|
||||
}
|
||||
return m_factory->create<KDecoration2::Decoration>(client);
|
||||
auto deco = m_factory->create<KDecoration2::Decoration>(client);
|
||||
deco->init();
|
||||
return deco;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue