QtUI code cleanup / comment improvements

This commit is contained in:
Wladimir J. van der Laan
2011-08-08 17:38:17 +02:00
parent fb390d3505
commit b0849613bf
16 changed files with 110 additions and 152 deletions

View File

@@ -44,7 +44,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent):
connect(decimals, SIGNAL(textChanged(QString)), this, SIGNAL(textChanged()));
connect(unit, SIGNAL(currentIndexChanged(int)), this, SLOT(unitChanged(int)));
// TODO: set default based on configuration
// Set default based on configuration
unitChanged(unit->currentIndex());
}
@@ -67,7 +67,6 @@ void BitcoinAmountField::clear()
{
amount->clear();
decimals->clear();
// TODO: set default based on configuration
unit->setCurrentIndex(0);
}