mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-29 00:26:14 -04:00
UI: Remove UNUSED_PARAMETER where unnecessary
Since cpp allows removing the unused parameters from the function name, UNUSED_PARAMETER is not needed, unless it is in an ifdef.
This commit is contained in:
@@ -4351,7 +4351,7 @@ void OBSBasicSettings::on_advOutFFPathBrowse_clicked()
|
||||
ui->advOutFFRecPath->setText(dir);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_advOutEncoder_currentIndexChanged(int idx)
|
||||
void OBSBasicSettings::on_advOutEncoder_currentIndexChanged()
|
||||
{
|
||||
QString encoder = GetComboData(ui->advOutEncoder);
|
||||
if (!loading) {
|
||||
@@ -4368,8 +4368,6 @@ void OBSBasicSettings::on_advOutEncoder_currentIndexChanged(int idx)
|
||||
|
||||
ui->advOutUseRescale->setVisible(true);
|
||||
ui->advOutRescale->setVisible(true);
|
||||
|
||||
UNUSED_PARAMETER(idx);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_advOutRecEncoder_currentIndexChanged(int idx)
|
||||
|
||||
Reference in New Issue
Block a user