Use proper data type for elapsed time

PR #21963.
This commit is contained in:
Chocobo1
2024-12-08 17:02:20 +08:00
committed by GitHub
parent 0ad65ceef6
commit a311c259cc
2 changed files with 12 additions and 9 deletions

View File

@@ -823,8 +823,7 @@ namespace BitTorrent
bool m_isPortMappingEnabled = false;
QHash<quint16, std::vector<lt::port_mapping_t>> m_mappedPorts;
QTimer *m_wakeupCheckTimer = nullptr;
std::chrono::steady_clock::time_point m_wakeupCheckTimestamp;
QElapsedTimer m_wakeupCheckTimestamp;
QList<TorrentImpl *> m_pendingFinishedTorrents;