fix: make GPU type config optional

This commit is contained in:
Kiana Sheibani 2025-10-08 00:03:18 -04:00
parent b27fb0b079
commit 589af00394
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -10,7 +10,7 @@ Singleton {
property real cpuPerc
property real cpuTemp
readonly property string gpuType: Config.services.gpuType.toUpperCase() || autoGpuType
readonly property string gpuType: Config.services.gpuType?.toUpperCase() || autoGpuType
property string autoGpuType: "NONE"
property real gpuPerc
property real gpuTemp