mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-31 05:08:35 +01:00
cmake: drop support for Qt 5
This commit is contained in:
@@ -45,11 +45,7 @@ TransactionInfo* TransactionHistory::transaction(int index)
|
||||
|
||||
void TransactionHistory::refresh(quint32 accountIndex)
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
QDateTime firstDateTime = QDate(2014, 4, 18).startOfDay();
|
||||
#else
|
||||
QDateTime firstDateTime = QDateTime(QDate(2014, 4, 18)); // the genesis block
|
||||
#endif
|
||||
QDateTime lastDateTime = QDateTime::currentDateTime().addDays(1); // tomorrow (guard against jitter and timezones)
|
||||
|
||||
emit refreshStarted();
|
||||
|
||||
Reference in New Issue
Block a user