showPlasmoidBeShown -> shouldPlasmoidBeShown

This commit is contained in:
Albert Vaca 2014-04-14 22:44:23 +02:00
parent cbd6809932
commit b366b1debc

View file

@ -50,7 +50,7 @@ Item {
}
*/
function showPlasmoidBeShown()
function shouldPlasmoidBeShown()
{
if (devicesView.count > 0) {
plasmoid.status = ActiveStatus;
@ -71,8 +71,8 @@ Item {
displayFilter: 0x11
}
delegate: DeviceDelegate { }
onCountChanged: showPlasmoidBeShown()
Component.onCompleted: showPlasmoidBeShown();
onCountChanged: shouldPlasmoidBeShown()
Component.onCompleted: shouldPlasmoidBeShown();
}
}