aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/plasmapatrol/content/Frigate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/plasmapatrol/content/Frigate.qml')
-rw-r--r--examples/declarative/plasmapatrol/content/Frigate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/plasmapatrol/content/Frigate.qml b/examples/declarative/plasmapatrol/content/Frigate.qml
index 5c61177f66..8d493b81d5 100644
--- a/examples/declarative/plasmapatrol/content/Frigate.qml
+++ b/examples/declarative/plasmapatrol/content/Frigate.qml
@@ -61,7 +61,7 @@ Item {
size: 92
emitRate: 1
lifeSpan: 4800
- emitting: hp > 0
+ enabled: hp > 0
}
Emitter{
system: container.system
@@ -76,7 +76,7 @@ Item {
endSize: 8
emitRate: hp > 0 ? hp * 1 + 20 : 0
lifeSpan: 1200
- emitCap: (maxHP * 1 + 20)*2
+ maximumEmitted: (maxHP * 1 + 20)*2
}
Timer{
id: fireControl