mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Remove 'locale' parameter from all callbacks
The locale parameter was a mistake, because it puts extra needless burden upon the module developer to have to handle this variable for each and every single callback function. The parameter is being removed in favor of a single centralized module callback function that specifically updates locale information for a module only when needed.
This commit is contained in:
@@ -44,8 +44,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
||||
obs_data_release(settings);
|
||||
|
||||
view = new OBSPropertiesView(settings,
|
||||
obs_source_properties(source, App()->GetLocale()),
|
||||
source, (PropertiesUpdateCallback)obs_source_update);
|
||||
obs_source_properties(source), source,
|
||||
(PropertiesUpdateCallback)obs_source_update);
|
||||
|
||||
layout()->addWidget(view);
|
||||
layout()->setAlignment(view, Qt::AlignBottom);
|
||||
|
||||
Reference in New Issue
Block a user