diff options
author | Pavel Janík <Pavel@Janik.cz> | 2014-12-15 11:07:55 +0100 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2014-12-15 19:56:45 +0100 |
commit | 73caf47dfe9c398aac75b5f6bcd1e0a644479a46 (patch) | |
tree | 00971dc724321ae8080d01631d9a30a75070346b /src/qt/guiutil.h | |
parent | 26a6bae7537c73cb4b713293ce29b7c6d71a542d (diff) |
Display time offset in the debug window's Peers tab
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 09c79db2d9..d39fad7d87 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -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 |