mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Cleanup: use constructor directly instead of move-assignment
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7b320fc859
commit
1127a425de
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ void WinBluetoothDeviceDiscoveryAgent::run()
|
||||||
deviceAddress.truncate(BTH_ADDR_PRETTY_STRING_LEN);
|
deviceAddress.truncate(BTH_ADDR_PRETTY_STRING_LEN);
|
||||||
|
|
||||||
// Create an object with information about the discovered device
|
// Create an object with information about the discovered device
|
||||||
QBluetoothDeviceInfo deviceInfo = QBluetoothDeviceInfo(QBluetoothAddress(deviceAddress), deviceName, 0);
|
QBluetoothDeviceInfo deviceInfo(QBluetoothAddress(deviceAddress), deviceName, 0);
|
||||||
|
|
||||||
// Raise a signal with information about the found remote device
|
// Raise a signal with information about the found remote device
|
||||||
emit deviceDiscovered(deviceInfo);
|
emit deviceDiscovered(deviceInfo);
|
||||||
|
|
Loading…
Reference in a new issue