containment connection happens before

This commit is contained in:
Marco Martin 2013-08-09 20:15:11 +02:00
parent 59ea65e859
commit 8ff1ace31c

View File

@ -46,11 +46,6 @@ ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent)
setAcceptedMouseButtons(Qt::RightButton);
qmlRegisterType<ContainmentInterface>();
}
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 <QObject *> ContainmentInterface::applets()
{
return m_appletInterfaces;