UI: Fix mem leak with QCompleter
This commit is contained in:
parent
7f3464c8ce
commit
15a642291e
@ -714,7 +714,7 @@ OBSBasicSettings::~OBSBasicSettings()
|
||||
{
|
||||
bool disableHotkeysInFocus = config_get_bool(App()->GlobalConfig(),
|
||||
"General", "DisableHotkeysInFocus");
|
||||
|
||||
delete ui->filenameFormatting->completer();
|
||||
main->EnableOutputs(true);
|
||||
App()->EnableInFocusHotkeys(!disableHotkeysInFocus);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user