diff --git a/src/declarativeimports/plasmastyle/ProgressBarStyle.qml b/src/declarativeimports/plasmastyle/ProgressBarStyle.qml index 6c876ceb6..6d2e9b30f 100644 --- a/src/declarativeimports/plasmastyle/ProgressBarStyle.qml +++ b/src/declarativeimports/plasmastyle/ProgressBarStyle.qml @@ -43,7 +43,7 @@ ProgressBarStyle { preferredWidth = barSvg.elementSize("bar-inactive-left").width + barSvg.elementSize("bar-inactive-right").width } if (preferredHeight == 0) { - preferredHeight = barSvg.elementSize("bar-inactive-top").width + barSvg.elementSize("bar-inactive-bottom").width + preferredHeight = barSvg.elementSize("bar-inactive-top").height + barSvg.elementSize("bar-inactive-bottom").height } } }