UI: Cleanup advanced audio functions

This removes the AdvAudioPropsClicked and AdvAudioPropsDestroyed
functions. The click function was not being used anywhere and the
destroy function was redundant because the dialog is set
to be deleted on close.
This commit is contained in:
Clayton Groeneveld 2021-08-17 18:44:02 -05:00 • committed by Jim
commit 96a5e11cd9
2 changed files with 0 additions and 15 deletions

View file

@ -4798,19 +4798,6 @@ void OBSBasic::on_actionAdvAudioProperties_triggered()
advAudioWindow->show();
advAudioWindow->setAttribute(Qt::WA_DeleteOnClose, true);
advAudioWindow->SetIconsVisible(iconsVisible);
connect(advAudioWindow, SIGNAL(destroyed()), this,
SLOT(AdvAudioPropsDestroyed()));
}
void OBSBasic::AdvAudioPropsClicked()
{
on_actionAdvAudioProperties_triggered();
}
void OBSBasic::AdvAudioPropsDestroyed()
{
advAudioWindow = nullptr;
}
void OBSBasic::on_scenes_currentItemChanged(QListWidgetItem *current,