Merge pull request #110

4f386e0 Fix erroneous DateTime & small README change (dEBRUYNE-1)
This commit is contained in:
Riccardo Spagni
2016-11-09 20:39:28 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ TODO
7. Before running the GUI, it's recommended that you have the Monero daemon running in the background. 7. Before running the GUI, it's recommended that you have the Monero daemon running in the background.
`./monerod --rpc-bind-port 38081` `./monerod`
8. Run the GUI client. 8. Run the GUI client.

View File

@@ -29,8 +29,8 @@ QList<TransactionInfo *> TransactionHistory::getAll() const
qDeleteAll(m_tinfo); qDeleteAll(m_tinfo);
m_tinfo.clear(); m_tinfo.clear();
QDateTime firstDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones) QDateTime firstDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block
QDateTime lastDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block QDateTime lastDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones)
TransactionHistory * parent = const_cast<TransactionHistory*>(this); TransactionHistory * parent = const_cast<TransactionHistory*>(this);
for (const auto i : m_pimpl->getAll()) { for (const auto i : m_pimpl->getAll()) {