Display time offset in the debug window's Peers tab

This commit is contained in:
Pavel Janík
2014-12-15 11:07:55 +01:00
parent 26a6bae753
commit 73caf47dfe
4 changed files with 34 additions and 2 deletions

View File

@@ -188,7 +188,10 @@ namespace GUIUtil
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
QString formatPingTime(double dPingTime);
/* Format a CNodeCombinedStats.nTimeOffset into a user-readable string. */
QString formatTimeOffset(int64_t nTimeOffset);
#if defined(Q_OS_MAC) && QT_VERSION >= 0x050000
// workaround for Qt OSX Bug:
// https://bugreports.qt-project.org/browse/QTBUG-15631