From 591da7563074e89e407912d94792d1ed492b11fd Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 5 Jul 2023 21:28:22 +0300 Subject: [PATCH] chore: Drop unused GetOffsetFromUtc() --- src/qt/masternodelist.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/qt/masternodelist.cpp b/src/qt/masternodelist.cpp index e1ecb20664..abf36e7bf3 100644 --- a/src/qt/masternodelist.cpp +++ b/src/qt/masternodelist.cpp @@ -19,17 +19,6 @@ #include #include -int GetOffsetFromUtc() -{ -#if QT_VERSION < 0x050200 - const QDateTime dateTime1 = QDateTime::currentDateTime(); - const QDateTime dateTime2 = QDateTime(dateTime1.date(), dateTime1.time(), Qt::UTC); - return dateTime1.secsTo(dateTime2); -#else - return QDateTime::currentDateTime().offsetFromUtc(); -#endif -} - template class CMasternodeListWidgetItem : public QTableWidgetItem {