From: Soeren Apel Date: Thu, 9 Jun 2016 03:04:57 +0000 (+0200) Subject: Connect dialog: Fix constructor initialization order X-Git-Tag: pulseview-0.4.0~286 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f21fd40b1b68ab0a5117d3a6b64041b6f6590ac3;p=pulseview.git Connect dialog: Fix constructor initialization order --- diff --git a/pv/dialogs/connect.cpp b/pv/dialogs/connect.cpp index af01b6cf..f878d499 100644 --- a/pv/dialogs/connect.cpp +++ b/pv/dialogs/connect.cpp @@ -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,