diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-08-08 17:38:17 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-08-08 17:38:17 +0200 |
commit | b0849613bf02b61774b23804c8feed54aa88474a (patch) | |
tree | e5a9c69413609d241f69b743394c733192685aff /src/qt/guiutil.cpp | |
parent | fb390d3505c9d0ad8f88cc9a26a2f8190254eda5 (diff) |
QtUI code cleanup / comment improvements
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 74863e1533..158b84a285 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -12,12 +12,12 @@ #include <QLineEdit> #include <QUrl> -QString GUIUtil::DateTimeStr(qint64 nTime) +QString GUIUtil::dateTimeStr(qint64 nTime) { - return DateTimeStr(QDateTime::fromTime_t((qint32)nTime)); + return dateTimeStr(QDateTime::fromTime_t((qint32)nTime)); } -QString GUIUtil::DateTimeStr(const QDateTime &date) +QString GUIUtil::dateTimeStr(const QDateTime &date) { return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm"); } @@ -61,8 +61,6 @@ bool GUIUtil::parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out) } else // Amount is non-empty { - // TODO: support <n>X<nexp> (exp = 8-nexp) (https://en.bitcoin.it/wiki/URI_Scheme) - // TODO: support <n>E<exp> if(!BitcoinUnits::parse(BitcoinUnits::BTC, amount, &rv.amount)) { return false; |