if no position was provided, negative pos

call the qml part with an invalid position if not supplied, will make new applets in the panels being put in the end instead of at the beginning
This commit is contained in:
Marco Martin 2014-03-24 18:15:50 +01:00
parent 6c6aeef6b5
commit 900e0108e1

View File

@ -522,7 +522,7 @@ void ContainmentInterface::appletAddedForward(Plasma::Applet *applet)
}
m_appletInterfaces << appletGraphicObject;
emit appletAdded(appletGraphicObject, 0, 0);
emit appletAdded(appletGraphicObject, -1, -1);
emit appletsChanged();
}