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:
parent
b2a83a3145
commit
3a610c698e
24 changed files with 93 additions and 225 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue