Skip to content

Commit 480bf01

Browse files
author
MarcoFalke
committed
Merge bitcoin-core#300: Remove progress bar on modal overlay
61fd8fe Remove progress bar on modal overlay (bruno) Pull request description: This PR removes the progress bar (keeping only the percentage) on modal overlay resolves bitcoin-core#279 Before: ![1](https://user-images.githubusercontent.com/19480819/116625265-bde65000-a91f-11eb-93ee-72474fc8dd67.PNG) After: ![2](https://user-images.githubusercontent.com/19480819/116625272-c2126d80-a91f-11eb-80b7-839703f03f87.PNG) ACKs for top commit: Bosch-0: tACK bitcoin-core@61fd8fe on Windows 10. Unnecessary Progress bar no longer there :) jarolrod: tACK 61fd8fe Tree-SHA512: 96d72f168b26e950ce37e9f489bcbcc608473c44bce3be127ccd47d17b7642fa234d314596186ee16b430d943575c312d84133425507a17ae7ac58ecae986639
2 parents e1e1e70 + 61fd8fe commit 480bf01

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/qt/forms/modaloverlay.ui

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,16 +271,6 @@ QLabel { color: rgb(40,40,40); }</string>
271271
</property>
272272
</widget>
273273
</item>
274-
<item>
275-
<widget class="QProgressBar" name="progressBar">
276-
<property name="value">
277-
<number>24</number>
278-
</property>
279-
<property name="format">
280-
<string/>
281-
</property>
282-
</widget>
283-
</item>
284274
</layout>
285275
</item>
286276
<item row="4" column="0">

src/qt/modaloverlay.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVeri
134134

135135
// show the percentage done according to nVerificationProgress
136136
ui->percentageProgress->setText(QString::number(nVerificationProgress*100, 'f', 2)+"%");
137-
ui->progressBar->setValue(nVerificationProgress*100);
138137

139138
if (!bestHeaderDate.isValid())
140139
// not syncing

0 commit comments

Comments
 (0)