From 57e0e1fc1a630582863273e35da16bb46242c8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 2 May 2018 12:01:32 -0300 Subject: [PATCH] BluetoothLink: Move _device to initialization list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- src/comm/BluetoothLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/BluetoothLink.cc b/src/comm/BluetoothLink.cc index b6e2009e5..e6606987f 100644 --- a/src/comm/BluetoothLink.cc +++ b/src/comm/BluetoothLink.cc @@ -244,8 +244,8 @@ BluetoothConfiguration::BluetoothConfiguration(const QString& name) BluetoothConfiguration::BluetoothConfiguration(BluetoothConfiguration* source) : LinkConfiguration(source) , _deviceDiscover(NULL) + , _device(source->device()) { - _device = source->device(); } BluetoothConfiguration::~BluetoothConfiguration() -- 2.22.0