mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
GUI/Options: Use kWU unit for blockmaxweight rather than ugly ",000" label
This commit is contained in:
parent
c2bb684b69
commit
9c76017625
@ -342,7 +342,7 @@ OptionsDialog::OptionsDialog(QWidget* parent, bool enableWallet)
|
|||||||
blockmaxweight->setMinimum(1);
|
blockmaxweight->setMinimum(1);
|
||||||
blockmaxweight->setMaximum((MAX_BLOCK_WEIGHT-4000) / 1000);
|
blockmaxweight->setMaximum((MAX_BLOCK_WEIGHT-4000) / 1000);
|
||||||
connect(blockmaxweight, SIGNAL(valueChanged(int)), this, SLOT(blockmaxweight_changed(int)));
|
connect(blockmaxweight, SIGNAL(valueChanged(int)), this, SLOT(blockmaxweight_changed(int)));
|
||||||
CreateOptionUI(verticalLayout_Mining, blockmaxweight, tr("Never mine a block weighing more than %s,000."));
|
CreateOptionUI(verticalLayout_Mining, blockmaxweight, tr("Never mine a block weighing more than %s kWU."));
|
||||||
|
|
||||||
verticalLayout_Mining->addItem(new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding));
|
verticalLayout_Mining->addItem(new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user