parent
7cb9f10c61
commit
60139cbdfe
2 changed files with 12 additions and 1 deletions
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue