diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-11 17:00:00 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-11 12:53:57 -0800 |
commit | 1127a425dec2d90240364e3b508e9d26f51e362f (patch) | |
tree | 307180c01c88d6a5589d0d7a8657023c91c78b8c | |
parent | 7b320fc8596434cbd424c1a6f16b3c97b08697b3 (diff) | |
download | subsurface-1127a425dec2d90240364e3b508e9d26f51e362f.tar.gz |
Cleanup: use constructor directly instead of move-assignment
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | desktop-widgets/btdeviceselectiondialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.cpp b/desktop-widgets/btdeviceselectiondialog.cpp index fc7b2e86f..a029765e5 100644 --- a/desktop-widgets/btdeviceselectiondialog.cpp +++ b/desktop-widgets/btdeviceselectiondialog.cpp @@ -682,7 +682,7 @@ void WinBluetoothDeviceDiscoveryAgent::run() deviceAddress.truncate(BTH_ADDR_PRETTY_STRING_LEN); // 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 emit deviceDiscovered(deviceInfo); |