diff options
author | fanquake <fanquake@gmail.com> | 2021-06-07 14:35:28 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-08-24 15:08:04 +0800 |
commit | 3ae503c95bccc4899fc881c603d618a824078e7b (patch) | |
tree | f7dc59212acb55d364cde3c23ab35568fa42c2f2 /src/qt/recentrequeststablemodel.cpp | |
parent | 27257b39bfa3e24d1a25d6d811ad4530f09d351a (diff) | |
download | bitcoin-3ae503c95bccc4899fc881c603d618a824078e7b.tar.xz |
refactor: replace QDateTime::toTime_t with QDateTime::toSecsSinceEpoch
Diffstat (limited to 'src/qt/recentrequeststablemodel.cpp')
-rw-r--r-- | src/qt/recentrequeststablemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/recentrequeststablemodel.cpp b/src/qt/recentrequeststablemodel.cpp index ec3d970a7f..ab8225e19f 100644 --- a/src/qt/recentrequeststablemodel.cpp +++ b/src/qt/recentrequeststablemodel.cpp @@ -234,7 +234,7 @@ bool RecentRequestEntryLessThan::operator()(const RecentRequestEntry& left, cons switch(column) { case RecentRequestsTableModel::Date: - return pLeft->date.toTime_t() < pRight->date.toTime_t(); + return pLeft->date.toSecsSinceEpoch() < pRight->date.toSecsSinceEpoch(); case RecentRequestsTableModel::Label: return pLeft->recipient.label < pRight->recipient.label; case RecentRequestsTableModel::Message: |