qt: Use quint64 for formatServicesStr
`uint64_t` was causing a build error on some systems, as that type is not known after including just the Qt headers.
This commit is contained in:
parent
04d6c7d10c
commit
e4731dd85c
2 changed files with 2 additions and 2 deletions
|
@ -810,7 +810,7 @@ QString formatDurationStr(int secs)
|
||||||
return strList.join(" ");
|
return strList.join(" ");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString formatServicesStr(uint64_t mask)
|
QString formatServicesStr(quint64 mask)
|
||||||
{
|
{
|
||||||
QStringList strList;
|
QStringList strList;
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,7 @@ namespace GUIUtil
|
||||||
QString formatDurationStr(int secs);
|
QString formatDurationStr(int secs);
|
||||||
|
|
||||||
/* Format CNodeStats.nServices bitmask into a user-readable string */
|
/* Format CNodeStats.nServices bitmask into a user-readable string */
|
||||||
QString formatServicesStr(uint64_t mask);
|
QString formatServicesStr(quint64 mask);
|
||||||
|
|
||||||
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
|
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
|
||||||
QString formatPingTime(double dPingTime);
|
QString formatPingTime(double dPingTime);
|
||||||
|
|
Loading…
Reference in a new issue