showPlasmoidBeShown -> shouldPlasmoidBeShown
This commit is contained in:
parent
cbd6809932
commit
b366b1debc
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue