Skip to content

Commit

Permalink
Merge bitcoin-core/gui#300: Remove progress bar on modal overlay
Browse files Browse the repository at this point in the history
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 dashpay#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/gui@61fd8fe on Windows 10. Unnecessary Progress bar no longer there :)
  jarolrod:
    tACK 61fd8fe

Tree-SHA512: 96d72f168b26e950ce37e9f489bcbcc608473c44bce3be127ccd47d17b7642fa234d314596186ee16b430d943575c312d84133425507a17ae7ac58ecae986639
  • Loading branch information
MarcoFalke authored and PastaPastaPasta committed Jun 28, 2021
1 parent 875038e commit fe5174d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/qt/forms/modaloverlay.ui
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,6 @@
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="progressBar">
<property name="value">
<number>24</number>
</property>
<property name="format">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0">
Expand Down
1 change: 0 additions & 1 deletion src/qt/modaloverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ void ModalOverlay::tipUpdate(int count, const QDateTime& blockDate, double nVeri

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

if (!bestHeaderDate.isValid())
// not syncing
Expand Down

0 comments on commit fe5174d

Please sign in to comment.