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) { if (devicesView.count > 0) {
plasmoid.status = ActiveStatus; plasmoid.status = ActiveStatus;
@ -71,8 +71,8 @@ Item {
displayFilter: 0x11 displayFilter: 0x11
} }
delegate: DeviceDelegate { } delegate: DeviceDelegate { }
onCountChanged: showPlasmoidBeShown() onCountChanged: shouldPlasmoidBeShown()
Component.onCompleted: showPlasmoidBeShown(); Component.onCompleted: shouldPlasmoidBeShown();
} }
} }