Fix Plasmoid porting errors
Some types changed causing the Plasmoid to end in reference errors. REVIEW: 119149
This commit is contained in:
parent
a8fb015a22
commit
0f334d053f
2 changed files with 5 additions and 5 deletions
|
@ -49,9 +49,9 @@ Item {
|
|||
function shouldPlasmoidBeShown()
|
||||
{
|
||||
if (devicesView.count > 0) {
|
||||
plasmoid.status = ActiveStatus;
|
||||
plasmoid.status = PlasmaCore.Types.ActiveStatus;
|
||||
} else {
|
||||
plasmoid.status = PassiveStatus;
|
||||
plasmoid.status = PlasmaCore.Types.PassiveStatus;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -62,9 +62,9 @@ Item {
|
|||
ListView {
|
||||
id: devicesView
|
||||
anchors.fill: parent
|
||||
model: DevicesModel {
|
||||
model: KdeConnect.DevicesModel {
|
||||
id: connectDeviceModel
|
||||
displayFilter: StatusFlags.StatusPaired | StatusFlags.StatusReachable
|
||||
displayFilter: KdeConnect.DevicesModel.StatusPaired | KdeConnect.DevicesModel.StatusReachable
|
||||
|
||||
}
|
||||
delegate: DeviceDelegate { }
|
||||
|
|
|
@ -26,5 +26,5 @@ Item
|
|||
Plasmoid.compactRepresentation: CompactRepresentation { }
|
||||
Plasmoid.fullRepresentation: FullRepresentation {}
|
||||
|
||||
Plasmoid.preferredRepresentation: fullRepresentation
|
||||
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue