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
parent
ccdf624c44
commit
96a5e11cd9
|
@ -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,
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue