diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-19 15:22:01 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-08-26 09:53:09 +0200 |
commit | 0904c3cda4d1f40d41154bd9b2739660bdf12852 (patch) | |
tree | 0dbd125588b7d8979a08e37e469c012765b14f07 /src/qt/guiutil.h | |
parent | 53f8f226bd1d627c4a6dec5862a1d4ea5a933e45 (diff) |
[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 9267e0a6c9..7697e53ae9 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 |