cmake: drop support for Qt 5

This commit is contained in:
tobtoht
2023-10-13 00:12:42 +02:00
parent 5a24c7acfb
commit dabe88340f
6 changed files with 7 additions and 47 deletions
-4
View File
@@ -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();