瀏覽代碼

UI: Hide "Update Channel" label on macOS

gxalpha 2 年之前
父節點
當前提交
dab5ff813a
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 1
      UI/forms/OBSBasicSettings.ui
  2. 2 0
      UI/window-basic-settings.cpp

+ 1 - 1
UI/forms/OBSBasicSettings.ui

@@ -288,7 +288,7 @@
                     <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
                    </property>
                    <item row="0" column="0">
-                    <widget class="QLabel" name="label_10">
+                    <widget class="QLabel" name="updateChannelLabel">
                      <property name="text">
                       <string>Basic.Settings.General.UpdateChannel</string>
                      </property>

+ 2 - 0
UI/window-basic-settings.cpp

@@ -588,6 +588,8 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
 #elif defined(__APPLE__)
 	delete ui->updateChannelBox;
 	ui->updateChannelBox = nullptr;
+	delete ui->updateChannelLabel;
+	ui->updateChannelLabel = nullptr;
 #else
 	// Hide update section if disabled
 	if (App()->IsUpdaterDisabled())