Ver Fonte

UI: Fix toggled signal of property groups

The signal is actually called toggled(bool) and not just toggled(). Qt considers these two to be different signals.
Michael Fabian 'Xaymar' Dirks há 6 anos atrás
pai
commit
d2a71e6b1b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      UI/properties-view.cpp

+ 1 - 1
UI/properties-view.cpp

@@ -1349,7 +1349,7 @@ void OBSPropertiesView::AddGroup(obs_property_t *prop, QFormLayout *layout)
 	children.emplace_back(info);
 
 	// Signals
-	connect(groupBox, SIGNAL(toggled()), info, SLOT(ControlChanged()));
+	connect(groupBox, SIGNAL(toggled(bool)), info, SLOT(ControlChanged()));
 }
 
 void OBSPropertiesView::AddProperty(obs_property_t *property,