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.
master
Clayton Groeneveld 2021-08-17 18:44:02 -05:00 committed by Jim
parent ccdf624c44
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,

View File

@ -927,8 +927,6 @@ private slots:
void on_action_Settings_triggered();
void on_actionShowMissingFiles_triggered();
void on_actionAdvAudioProperties_triggered();
void AdvAudioPropsClicked();
void AdvAudioPropsDestroyed();
void on_actionShowLogs_triggered();
void on_actionUploadCurrentLog_triggered();
void on_actionUploadLastLog_triggered();