mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Trivial: Replace a QSharedPointer by a QScopedPointer
Since the QSharedPointer is never passed or copied, reference counting is certainly not needed. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b32251a5a8
commit
6addfe1660
2 changed files with 3 additions and 4 deletions
|
|
@ -83,7 +83,7 @@ private:
|
|||
QBluetoothLocalDevice *localDevice;
|
||||
QBluetoothDeviceDiscoveryAgent *remoteDeviceDiscoveryAgent;
|
||||
#endif
|
||||
QSharedPointer<QBluetoothDeviceInfo> selectedRemoteDeviceInfo;
|
||||
QScopedPointer<QBluetoothDeviceInfo> selectedRemoteDeviceInfo;
|
||||
|
||||
void updateLocalDeviceInformation();
|
||||
void initializeDeviceDiscoveryAgent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue