[Qt] allow translation of client bitness

This commit is contained in:
Philip Kaufmann 2014-01-27 11:09:06 +01:00
parent 085c62149a
commit ceb8e226ef

View file

@ -38,9 +38,9 @@ void AboutDialog::setModel(ClientModel *model)
* 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambigious.
*/
#if defined(__x86_64__)
version += " (64-bit)";
version += tr(" (%1-bit)").arg(64);
#elif defined(__i386__ )
version += " (32-bit)";
version += tr(" (%1-bit)").arg(32);
#endif
ui->versionLabel->setText(version);
}