0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

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:
jp9000 2015-01-16 00:05:09 -08:00
parent 82320a9ca7
commit 14488a8c2f

View File

@ -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");