From 14488a8c2f2a23b5c238b593292b94a7257d06c3 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 16 Jan 2015 00:05:09 -0800 Subject: [PATCH] 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. --- obs/window-basic-properties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs/window-basic-properties.cpp b/obs/window-basic-properties.cpp index fc533545a..a4f4db318 100644 --- a/obs/window-basic-properties.cpp +++ b/obs/window-basic-properties.cpp @@ -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");