Revert "UI: Remove bitness strings"

This reverts commit 64d4ae0106.
This commit is contained in:
Ryan Foster
2023-03-30 17:08:30 -04:00
committed by Jim
parent 7cb9f10c61
commit 60139cbdfe
2 changed files with 12 additions and 1 deletions

View File

@@ -15,8 +15,14 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
ui->setupUi(this);
QString bitness;
QString ver;
if (sizeof(void *) == 4)
bitness = " (32 bit)";
else if (sizeof(void *) == 8)
bitness = " (64 bit)";
#ifdef HAVE_OBSCONFIG_H
ver += OBS_VERSION;
#else
@@ -24,7 +30,7 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
LIBOBS_API_PATCH_VER;
#endif
ui->version->setText(ver);
ui->version->setText(ver + bitness);
ui->contribute->setText(QTStr("About.Contribute"));