qint64 for MSVC compiler

This commit is contained in:
adityapk
2018-10-30 14:36:41 -07:00
parent 8e0f816d37
commit 75ef105869
3 changed files with 4 additions and 7 deletions

View File

@@ -98,10 +98,7 @@ void TxTableModel::updateAllData() {
else
return addr;
}
case 2: {
qDebug() << modeldata->at(index.row()).datetime;
return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * 1000).toLocalTime().toString();
}
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * (qint64)1000).toLocalTime().toString();
case 3: return Settings::getInstance()->getZECDisplayFormat(modeldata->at(index.row()).amount);
}
}
@@ -117,7 +114,7 @@ void TxTableModel::updateAllData() {
else
return addr;
}
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * 1000).toLocalTime().toString();
case 2: return QDateTime::fromMSecsSinceEpoch(modeldata->at(index.row()).datetime * (qint64)1000).toLocalTime().toString();
case 3: return Settings::getInstance()->getUSDFormat(modeldata->at(index.row()).amount);
}
}