From 64d4ae0106ff9c61978bdb7b55dc35679edb5a13 Mon Sep 17 00:00:00 2001 From: cg2121 Date: Mon, 13 Feb 2023 17:09:18 -0600 Subject: [PATCH] UI: Remove bitness strings This removes the bitness strings from the title bar and about dialog. --- UI/obs-app.cpp | 5 ----- UI/window-basic-about.cpp | 8 +------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index b9544bff1..e815d072e 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -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)"; diff --git a/UI/window-basic-about.cpp b/UI/window-basic-about.cpp index 2bbc216aa..7142d1062 100644 --- a/UI/window-basic-about.cpp +++ b/UI/window-basic-about.cpp @@ -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"));