mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Remove majority of warnings
There were a *lot* of warnings, managed to remove most of them. Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after, as -Wall -Wextra was overwriting flags that came before it.
This commit is contained in:
@@ -413,6 +413,8 @@ void OBSBasicSettings::on_language_currentIndexChanged(int index)
|
||||
{
|
||||
if (!loading)
|
||||
generalChanged = true;
|
||||
|
||||
UNUSED_PARAMETER(index);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_renderer_currentIndexChanged(int index)
|
||||
@@ -422,22 +424,30 @@ void OBSBasicSettings::on_renderer_currentIndexChanged(int index)
|
||||
ui->errorText->setText(
|
||||
QTStr("Settings.ProgramRestart"));
|
||||
}
|
||||
|
||||
UNUSED_PARAMETER(index);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_fpsType_currentIndexChanged(int index)
|
||||
{
|
||||
if (!loading)
|
||||
videoChanged = true;
|
||||
|
||||
UNUSED_PARAMETER(index);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_baseResolution_editTextChanged(const QString &text)
|
||||
{
|
||||
if (!loading && ValidResolutions(ui.get()))
|
||||
videoChanged = true;
|
||||
|
||||
UNUSED_PARAMETER(text);
|
||||
}
|
||||
|
||||
void OBSBasicSettings::on_outputResolution_editTextChanged(const QString &text)
|
||||
{
|
||||
if (!loading && ValidResolutions(ui.get()))
|
||||
videoChanged = true;
|
||||
|
||||
UNUSED_PARAMETER(text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user