From 67b498bcab18a989fde2d7b794074f60b0eca500 Mon Sep 17 00:00:00 2001 From: Rello Date: Wed, 17 Sep 2025 10:22:58 +0700 Subject: [PATCH] fix: log - BasicControls for better customization. > QML QQuickRectangle: The current style does not support customization of this control (property: "background" item: QQuickRectangle(0x600003e89dc0, parent=0x0, geometry=0,0 0x0)). Please customize a non-native style (such as Basic, Fusion, Material, etc). For more information, see: https://doc.qt.io/qt-6/qtquickcontrols2-customize.html#customization-reference > QML QQuickItem: The current style does not support customization of this control (property: "contentItem" item: QQuickItem(0x600003e8a220, parent=0x0, geometry=0,0 0x0)). Please customize a non-native style (such as Basic, Fusion, Material, etc). For more information, see: https://doc.qt.io/qt-6/qtquickcontrols2-customize.html#customization-reference Updated NCProgressBar to instantiate the Basic Controls implementation so its customized background and content items render without native style warnings Signed-off-by: Rello --- src/gui/tray/NCProgressBar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/NCProgressBar.qml b/src/gui/tray/NCProgressBar.qml index 142b50488a..839073da4b 100644 --- a/src/gui/tray/NCProgressBar.qml +++ b/src/gui/tray/NCProgressBar.qml @@ -5,10 +5,10 @@ import QtQuick import QtQuick.Controls +import QtQuick.Controls.Basic as BasicControls import Style -// TODO: the current style does not support customization of this control -ProgressBar { +BasicControls.ProgressBar { id: control property color fillColor: Style.ncBlue