Browse Source

UI: Remove bitness strings

This removes the bitness strings from the title bar and about dialog.
cg2121 2 years ago
parent
commit
64d4ae0106
2 changed files with 1 additions and 12 deletions
  1. 0 5
      UI/obs-app.cpp
  2. 1 7
      UI/window-basic-about.cpp

+ 0 - 5
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)";

+ 1 - 7
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"));