Browse Source

UI: Apply QSS to generic hotkey settings label

Fixes an issue where in the hotkey settings, some header labels wouldn't
be styled as intended.
gxalpha 4 years ago
parent
commit
5db62af907
1 changed files with 3 additions and 1 deletions
  1. 3 1
      UI/window-basic-settings.cpp

+ 3 - 1
UI/window-basic-settings.cpp

@@ -2625,7 +2625,9 @@ LayoutHotkey(obs_hotkey_id id, obs_hotkey_t *key, Func &&fun,
 template<typename Func, typename T>
 static QLabel *makeLabel(T &t, Func &&getName)
 {
-	return new QLabel(getName(t));
+	QLabel *label = new QLabel(getName(t));
+	label->setStyleSheet("font-weight: bold;");
+	return label;
 }
 
 template<typename Func>