[Qt] allow translation of client bitness
This commit is contained in:
parent
085c62149a
commit
ceb8e226ef
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ void AboutDialog::setModel(ClientModel *model)
|
||||||
* 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambigious.
|
* 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambigious.
|
||||||
*/
|
*/
|
||||||
#if defined(__x86_64__)
|
#if defined(__x86_64__)
|
||||||
version += " (64-bit)";
|
version += tr(" (%1-bit)").arg(64);
|
||||||
#elif defined(__i386__ )
|
#elif defined(__i386__ )
|
||||||
version += " (32-bit)";
|
version += tr(" (%1-bit)").arg(32);
|
||||||
#endif
|
#endif
|
||||||
ui->versionLabel->setText(version);
|
ui->versionLabel->setText(version);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue