mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 17:15:09 -07:00
[Oracle] Have space between size value and unit (#7254)
This commit is contained in:
parent
2fe59d6326
commit
0f0e46a177
1 changed files with 3 additions and 3 deletions
|
|
@ -260,7 +260,7 @@ bool LoadSetsPage::validatePage()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
progressLabel->setText(tr("Downloading (0MB)"));
|
progressLabel->setText(tr("Downloading (0 MB)"));
|
||||||
// show an infinite progressbar
|
// show an infinite progressbar
|
||||||
progressBar->setMaximum(0);
|
progressBar->setMaximum(0);
|
||||||
progressBar->setMinimum(0);
|
progressBar->setMinimum(0);
|
||||||
|
|
@ -343,7 +343,7 @@ void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
|
||||||
progressBar->setMaximum(static_cast<int>(total));
|
progressBar->setMaximum(static_cast<int>(total));
|
||||||
progressBar->setValue(static_cast<int>(received));
|
progressBar->setValue(static_cast<int>(received));
|
||||||
}
|
}
|
||||||
progressLabel->setText(tr("Downloading (%1MB)").arg((int)received / (1024 * 1024)));
|
progressLabel->setText(tr("Downloading (%1 MB)").arg((int)received / (1024 * 1024)));
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoadSetsPage::actDownloadFinishedSetsFile()
|
void LoadSetsPage::actDownloadFinishedSetsFile()
|
||||||
|
|
@ -743,4 +743,4 @@ void LoadSpoilersPage::retranslateUi()
|
||||||
pathLabel->setText(tr("The spoiler database will be saved at the following location:") + "<br>" +
|
pathLabel->setText(tr("The spoiler database will be saved at the following location:") + "<br>" +
|
||||||
SettingsCache::instance().getSpoilerCardDatabasePath());
|
SettingsCache::instance().getSpoilerCardDatabasePath());
|
||||||
defaultPathCheckBox->setText(tr("Save to a custom path (not recommended)"));
|
defaultPathCheckBox->setText(tr("Save to a custom path (not recommended)"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue