UI: Fix constructor reorder warning
The class members were listed in the wrong order, causing GCC to throw up a reorder warning signifying that they cannot be initialized in the order they were listed in the constructor initializer list.
This commit is contained in:
@@ -42,8 +42,8 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
|
||||
"update_properties",
|
||||
OBSBasicProperties::UpdateProperties,
|
||||
this),
|
||||
buttonBox (new QDialogButtonBox(this)),
|
||||
oldSettings (obs_data_create())
|
||||
oldSettings (obs_data_create()),
|
||||
buttonBox (new QDialogButtonBox(this))
|
||||
{
|
||||
int cx = (int)config_get_int(App()->GlobalConfig(), "PropertiesWindow",
|
||||
"cx");
|
||||
|
Reference in New Issue
Block a user