diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-18 11:53:25 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-18 11:53:25 +0200 |
commit | 0f3981bea94cea957f0de4b128f7feffbfc2d9c6 (patch) | |
tree | 28b8fa9cf6dfdbf9b2f1358c35327264adfe200d /src/qt/bitcoinaddressvalidator.cpp | |
parent | aa5297266093eccd984a2d8fb20499617ef96c81 (diff) |
remove commented code, use // for one-line comments and comments inside functions
Diffstat (limited to 'src/qt/bitcoinaddressvalidator.cpp')
-rw-r--r-- | src/qt/bitcoinaddressvalidator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoinaddressvalidator.cpp b/src/qt/bitcoinaddressvalidator.cpp index 761a266933..92d7daeb88 100644 --- a/src/qt/bitcoinaddressvalidator.cpp +++ b/src/qt/bitcoinaddressvalidator.cpp @@ -22,7 +22,7 @@ BitcoinAddressValidator::BitcoinAddressValidator(QObject *parent) : QValidator::State BitcoinAddressValidator::validate(QString &input, int &pos) const { - /* Correction */ + // Correction for(int idx=0; idx<input.size(); ++idx) { switch(input.at(idx).unicode()) @@ -40,7 +40,7 @@ QValidator::State BitcoinAddressValidator::validate(QString &input, int &pos) co } } - /* Validation */ + // Validation QValidator::State state = QValidator::Acceptable; for(int idx=0; idx<input.size(); ++idx) { @@ -51,7 +51,7 @@ QValidator::State BitcoinAddressValidator::validate(QString &input, int &pos) co (ch >= 'A' && ch<='Z')) && ch != 'l' && ch != 'I' && ch != '0' && ch != 'O') { - /* Alphanumeric and not a 'forbidden' character */ + // Alphanumeric and not a 'forbidden' character } else { |