mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-19 12:41:54 -04: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:
1 parent
74b4743bce
commit
0b4a259e56
38 files changed
+125
-160
No files matched your search
@@ -169,8 +169,7 @@ OBSBasicSourceSelect::OBSBasicSourceSelect(OBSBasic *parent, const char *type_)
|
||||
ui->setupUi(this);
|
||||
|
||||
QString placeHolderText{QT_UTF8(obs_source_getdisplayname(
|
||||
OBS_SOURCE_TYPE_INPUT,
|
||||
type_, App()->GetLocale()))};
|
||||
OBS_SOURCE_TYPE_INPUT, type_))};
|
||||
|
||||
QString text{placeHolderText};
|
||||
int i = 1;
|
||||
|
||||
Reference in new issue
Block a user