mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
fixed leading zeroes problem in title bar
This commit is contained in:
parent
01d48256a4
commit
b9436fbef2
@ -360,7 +360,7 @@ QString Rshare::retroshareVersion(bool withRevision)
|
||||
{
|
||||
QString version = QString("%1.%2.%3%4").arg(RS_MAJOR_VERSION).arg(RS_MINOR_VERSION).arg(RS_BUILD_NUMBER).arg(RS_BUILD_NUMBER_ADD);
|
||||
if (withRevision) {
|
||||
version += QString(" %1 %2").arg(tr("Revision")).arg(QString::number(RS_REVISION_NUMBER,16));
|
||||
version += QString(" %1 %2").arg(tr("Revision")).arg(RS_REVISION_NUMBER,8,16,QChar('0'));
|
||||
}
|
||||
|
||||
return version;
|
||||
|
Loading…
Reference in New Issue
Block a user