mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
(API Change) Rename autoselect/default functions
For the sake of consistency, renamed these two functions to include _value at the end so they are consistent. Renamed: To: ------------------------------------------------------- obs_data_has_default obs_data_has_default_value obs_data_has_autoselect obs_data_has_autoselect_value obs_data_item_has_default obs_data_item_has_default_value obs_data_item_has_autoselect obs_data_item_has_autoselect_value
This commit is contained in:
@@ -281,7 +281,7 @@ QWidget *OBSPropertiesView::AddList(obs_property_t prop, bool &warning)
|
||||
if (idx != -1)
|
||||
combo->setCurrentIndex(idx);
|
||||
|
||||
if (obs_data_has_autoselect(settings, name)) {
|
||||
if (obs_data_has_autoselect_value(settings, name)) {
|
||||
string autoselect =
|
||||
from_obs_data_autoselect(settings, name, format);
|
||||
int id = combo->findData(QT_UTF8(autoselect.c_str()));
|
||||
|
||||
Reference in New Issue
Block a user