diff --git a/Modules/Panels/Settings/Tabs/Display/BrightnessSubTab.qml b/Modules/Panels/Settings/Tabs/Display/BrightnessSubTab.qml index 88fbb3015..17d3b5fa4 100644 --- a/Modules/Panels/Settings/Tabs/Display/BrightnessSubTab.qml +++ b/Modules/Panels/Settings/Tabs/Display/BrightnessSubTab.qml @@ -35,10 +35,12 @@ ColumnLayout { return baseLabel + "(" + autoDeviceName + ")"; } readonly property var backlightDeviceOptions: { - var options = [{ - "key": "", - "name": automaticOptionLabel - }]; + var options = [ + { + "key": "", + "name": automaticOptionLabel + } + ]; var devices = BrightnessService.availableBacklightDevices || []; for (var i = 0; i < devices.length; i++) { diff --git a/Services/UI/ImageCacheService.qml b/Services/UI/ImageCacheService.qml index d2ed489eb..cb6171dd7 100644 --- a/Services/UI/ImageCacheService.qml +++ b/Services/UI/ImageCacheService.qml @@ -209,22 +209,22 @@ Singleton { `; queueUtilityProcess({ - name: "CopyTempFile_" + cacheKey, - processString: processString, - onComplete: function (exitCode) { - if (exitCode === 0) { - Logger.d("ImageCache", "Temp file cached:", destPath); - notifyCallbacks(cacheKey, destPath, true); - } else { - Logger.w("ImageCache", "Failed to cache temp file:", sourcePath); - notifyCallbacks(cacheKey, "", false); - } - }, - onError: function () { - Logger.e("ImageCache", "Error caching temp file:", sourcePath); - notifyCallbacks(cacheKey, "", false); - } - }); + name: "CopyTempFile_" + cacheKey, + processString: processString, + onComplete: function (exitCode) { + if (exitCode === 0) { + Logger.d("ImageCache", "Temp file cached:", destPath); + notifyCallbacks(cacheKey, destPath, true); + } else { + Logger.w("ImageCache", "Failed to cache temp file:", sourcePath); + notifyCallbacks(cacheKey, "", false); + } + }, + onError: function () { + Logger.e("ImageCache", "Error caching temp file:", sourcePath); + notifyCallbacks(cacheKey, "", false); + } + }); } // -------------------------------------------------