diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index fd907e2cd..05075f62c 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -46,11 +46,6 @@ ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent) setAcceptedMouseButtons(Qt::RightButton); qmlRegisterType(); -} - -void ContainmentInterface::init() -{ - AppletInterface::init(); connect(containment(), &Plasma::Containment::appletRemoved, this, &ContainmentInterface::appletRemovedForward); @@ -69,6 +64,11 @@ void ContainmentInterface::init() } } +void ContainmentInterface::init() +{ + AppletInterface::init(); +} + QList ContainmentInterface::applets() { return m_appletInterfaces;