mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
chore: Drop unused GetOffsetFromUtc()
This commit is contained in:
parent
e087a7881a
commit
591da75630
@ -19,17 +19,6 @@
|
||||
#include <QTableWidgetItem>
|
||||
#include <QtGui/QClipboard>
|
||||
|
||||
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 <typename T>
|
||||
class CMasternodeListWidgetItem : public QTableWidgetItem
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user