From ee08174435287c483e287a29467c8c5d30fc197b Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 14 Oct 2020 10:13:35 +0200 Subject: nativestyle, ProgressBar: fix copy/paste mistake related to nativeIndicator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DefaultProgressBar.qml doesn't have any property called "nativeIndicator". Instead it should use "__nativeBackground". Change-Id: I848f82a9e093476cb806ea7fc436238c281591ac Reviewed-by: Jan Arve Sæther --- src/imports/nativestyle/controls/DefaultProgressBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imports/nativestyle/controls/DefaultProgressBar.qml b/src/imports/nativestyle/controls/DefaultProgressBar.qml index 290387c5..037bdbae 100644 --- a/src/imports/nativestyle/controls/DefaultProgressBar.qml +++ b/src/imports/nativestyle/controls/DefaultProgressBar.qml @@ -51,7 +51,7 @@ T.ProgressBar { implicitContentHeight + topPadding + bottomPadding, control.vertical ? 90 : 0 /* minimum */ ) - font.pixelSize: nativeIndicator ? indicator.styleFont(control).pixelSize : undefined + font.pixelSize: __nativeBackground ? background.styleFont(control).pixelSize : undefined background: NativeStyle.ProgressBar { control: control -- cgit v1.2.3