]> sigrok.org Git - pulseview.git/commitdiff
Connect dialog: Fix constructor initialization order
authorSoeren Apel <redacted>
Thu, 9 Jun 2016 03:04:57 +0000 (05:04 +0200)
committerUwe Hermann <redacted>
Sun, 26 Jun 2016 17:10:54 +0000 (19:10 +0200)
pv/dialogs/connect.cpp

index af01b6cf6e47e6f07ae251b5104d90d7d3e6b599..f878d4997293bb47bb1d8cb348ed5fbc4e72d49f 100644 (file)
@@ -49,16 +49,16 @@ namespace dialogs {
 
 Connect::Connect(QWidget *parent, pv::DeviceManager &device_manager) :
        QDialog(parent),
-       tcp_endpoint_(&form_),
-       tcp_endpoint_layout_(&tcp_endpoint_),
-       tcp_host_(&tcp_endpoint_),
-       tcp_port_(&tcp_endpoint_),
        device_manager_(device_manager),
        layout_(this),
        form_(this),
        form_layout_(&form_),
        drivers_(&form_),
        serial_devices_(&form_),
+       tcp_endpoint_(&form_),
+       tcp_endpoint_layout_(&tcp_endpoint_),
+       tcp_host_(&tcp_endpoint_),
+       tcp_port_(&tcp_endpoint_),
        scan_button_(tr("&Scan for devices using driver above"), this),
        device_list_(this),
        button_box_(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,