UI: Remove bitness strings

This removes the bitness strings from the title bar and about dialog.
This commit is contained in:
cg2121
2023-02-13 17:09:18 -06:00
committed by Jim
parent b44910726d
commit 64d4ae0106
2 changed files with 1 additions and 12 deletions
-5
View File
@@ -1722,11 +1722,6 @@ string OBSApp::GetVersionString() const
ver << " (";
#ifdef _WIN32
if (sizeof(void *) == 8)
ver << "64-bit, ";
else
ver << "32-bit, ";
ver << "windows)";
#elif __APPLE__
ver << "mac)";
+1 -7
View File
@@ -15,14 +15,8 @@ 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
@@ -30,7 +24,7 @@ OBSAbout::OBSAbout(QWidget *parent) : QDialog(parent), ui(new Ui::OBSAbout)
LIBOBS_API_PATCH_VER;
#endif
ui->version->setText(ver + bitness);
ui->version->setText(ver);
ui->contribute->setText(QTStr("About.Contribute"));