mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refactor: Fix Qt deprecation warnings
This commit is contained in:
@@ -616,7 +616,7 @@ namespace swift::misc
|
||||
for (auto it = m_timestamps.cbegin(); it != m_timestamps.cend(); ++it)
|
||||
{
|
||||
result.push_back(it.key() + "(" +
|
||||
QDateTime::fromMSecsSinceEpoch(it.value(), Qt::UTC).toString(Qt::ISODate) + ")");
|
||||
QDateTime::fromMSecsSinceEpoch(it.value(), QTimeZone::UTC).toString(Qt::ISODate) + ")");
|
||||
}
|
||||
return result.join(",");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user