mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-12 13:43:43 +01:00
Remove reindex special case from the progress bar label
This commit is contained in:
@@ -1071,7 +1071,7 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
|
||||
statusBar()->clearMessage();
|
||||
|
||||
// Acquire current block source
|
||||
enum BlockSource blockSource = clientModel->getBlockSource();
|
||||
BlockSource blockSource{clientModel->getBlockSource()};
|
||||
switch (blockSource) {
|
||||
case BlockSource::NETWORK:
|
||||
if (synctype == SyncType::HEADER_PRESYNC) {
|
||||
@@ -1091,9 +1091,6 @@ void BitcoinGUI::setNumBlocks(int count, const QDateTime& blockDate, double nVer
|
||||
progressBarLabel->setText(tr("Processing blocks on disk…"));
|
||||
}
|
||||
break;
|
||||
case BlockSource::REINDEX:
|
||||
progressBarLabel->setText(tr("Reindexing blocks on disk…"));
|
||||
break;
|
||||
case BlockSource::NONE:
|
||||
if (synctype != SyncType::BLOCK_SYNC) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user