Commit 57e0e1fc authored by Patrick José Pereira's avatar Patrick José Pereira

BluetoothLink: Move _device to initialization list

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 5c24a2ec
...@@ -244,8 +244,8 @@ BluetoothConfiguration::BluetoothConfiguration(const QString& name) ...@@ -244,8 +244,8 @@ BluetoothConfiguration::BluetoothConfiguration(const QString& name)
BluetoothConfiguration::BluetoothConfiguration(BluetoothConfiguration* source) BluetoothConfiguration::BluetoothConfiguration(BluetoothConfiguration* source)
: LinkConfiguration(source) : LinkConfiguration(source)
, _deviceDiscover(NULL) , _deviceDiscover(NULL)
, _device(source->device())
{ {
_device = source->device();
} }
BluetoothConfiguration::~BluetoothConfiguration() BluetoothConfiguration::~BluetoothConfiguration()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment