plugin: rust-side modules + theme services with serde-typed config
This commit is contained in:
parent
a86e90e927
commit
f34f3f2f4e
95 changed files with 2477 additions and 1011 deletions
|
|
@ -52,7 +52,7 @@ QtObject {
|
|||
// Drive the Rust service from QML timers; both intervals read from Modules config.
|
||||
property Timer _statsTimer: Timer {
|
||||
interval: {
|
||||
const ms = M.Modules.statsDaemon.interval;
|
||||
const ms = NS.ModulesService.statsDaemonInterval;
|
||||
return ms > 0 ? ms : 4000;
|
||||
}
|
||||
running: true
|
||||
|
|
@ -62,7 +62,7 @@ QtObject {
|
|||
}
|
||||
|
||||
property Timer _diskTimer: Timer {
|
||||
interval: M.Modules.disk.interval || 30000
|
||||
interval: NS.ModulesService.diskInterval || 30000
|
||||
running: true
|
||||
repeat: true
|
||||
triggeredOnStart: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue