diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-02 17:47:08 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-02 17:54:21 +0100 |
commit | c986972ad77242664c41c5e6fe07214e84aadd82 (patch) | |
tree | ade772431c84c3e839b5cb03161d57505d4c2766 /src/qt/guiutil.h | |
parent | 40d65eb66d0865aa64c410c3eb970dafcad71851 (diff) | |
parent | 73caf47dfe9c398aac75b5f6bcd1e0a644479a46 (diff) |
Merge pull request #5476
73caf47 Display time offset in the debug window's Peers tab (Pavel Janík)
26a6bae Add time offset to getpeerinfo output (Pavel Janík)
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 4f8c683147..a77036a194 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 |