Optimizations memory/cpu
- Only load bar widgets once the settings are done loading, and the widget is actually in use. - Only load bar on screens that request it, instead of hiding it.
This commit is contained in:
parent
38efdc8f36
commit
9fb4aff635
4 changed files with 86 additions and 83 deletions
|
|
@ -13,7 +13,7 @@ Singleton {
|
|||
property var items: [] // [{id, preview, mime, isImage}]
|
||||
property bool loading: false
|
||||
// Active only when feature is enabled and settings have finished initial load
|
||||
property bool active: Settings.data.appLauncher.enableClipboardHistory && !Settings.isInitialLoad
|
||||
property bool active: Settings.data.appLauncher.enableClipboardHistory && Settings.isLoaded
|
||||
|
||||
// Optional automatic watchers to feed cliphist DB
|
||||
property bool autoWatch: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue