diff options
| author | Jonas Schnelli <[email protected]> | 2016-07-19 15:22:01 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-08-26 09:53:09 +0200 |
| commit | 0904c3cda4d1f40d41154bd9b2739660bdf12852 (patch) | |
| tree | 0dbd125588b7d8979a08e37e469c012765b14f07 /src/qt/guiutil.h | |
| parent | Merge #8462: Move AdvertiseLocal debug output to net category (diff) | |
| download | discoin-0904c3cda4d1f40d41154bd9b2739660bdf12852.tar.xz discoin-0904c3cda4d1f40d41154bd9b2739660bdf12852.zip | |
[Refactor] refactor function that forms human readable text out of a timeoffset
Diffstat (limited to 'src/qt/guiutil.h')
| -rw-r--r-- | src/qt/guiutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 9267e0a6c..7697e53ae 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -200,6 +200,8 @@ namespace GUIUtil /* Format a CNodeCombinedStats.nTimeOffset into a user-readable string. */ QString formatTimeOffset(int64_t nTimeOffset); + QString formateNiceTimeOffset(qint64 secs); + #if defined(Q_OS_MAC) && QT_VERSION >= 0x050000 // workaround for Qt OSX Bug: // https://bugreports.qt-project.org/browse/QTBUG-15631 |