From 09935ba4b07e222fcc224110884976876e255baa Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Tue, 20 Mar 2018 18:55:53 +0100 Subject: [PATCH] Fixes duplicate id --- components/ProgressBar.qml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml index 4b415051..f9bb315f 100644 --- a/components/ProgressBar.qml +++ b/components/ProgressBar.qml @@ -65,8 +65,8 @@ Rectangle { font.pixelSize: 13 * scaleRatio font.bold: true color: "white" - text: qsTr("Synchronizing blocks") - height:18 * scaleRatio + text: qsTr("Synchronizing %1").arg(syncType) + height: 18 * scaleRatio } Text { @@ -98,7 +98,7 @@ Rectangle { anchors.bottom: parent.bottom anchors.left: parent.left height: bar.height - property int maxWidth: parent.width - 4 * scaleRatio + property int maxWidth: bar.width - 4 * scaleRatio width: (maxWidth * fillLevel) / 100 radius: 8 // could change color based on progressbar status; if(item.fillLevel < 99 ) @@ -110,16 +110,6 @@ Rectangle { anchors.bottom: parent.bottom anchors.left: parent.left anchors.leftMargin: 8 * scaleRatio - - Text { - id:progressText - anchors.bottom: parent.bottom - font.family: "Arial" - font.pixelSize: 12 * scaleRatio - color: "#000" - text: qsTr("Synchronizing %1").arg(syncType) - height:18 * scaleRatio - } } }