summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothtransferreply_bluez_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-08-22 14:08:18 +0200
committerAlex Blasche <alexander.blasche@qt.io>2018-08-24 05:44:21 +0000
commitfcf1f30d5fc541a15f0dd4df40a1869630aa3478 (patch)
tree3310037c3740b939e72fb51efdb066f2c64536b5 /src/bluetooth/qbluetoothtransferreply_bluez_p.h
parent89e92af7948cde05bbb07a082835344f3f3adb4e (diff)
Code cleanup: Use nullptr wherever possible
Change-Id: I7dd2d055c8d667f049d7cb2c371619137bf76030 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothtransferreply_bluez_p.h')
-rw-r--r--src/bluetooth/qbluetoothtransferreply_bluez_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bluetooth/qbluetoothtransferreply_bluez_p.h b/src/bluetooth/qbluetoothtransferreply_bluez_p.h
index a432c955..48a8d4f0 100644
--- a/src/bluetooth/qbluetoothtransferreply_bluez_p.h
+++ b/src/bluetooth/qbluetoothtransferreply_bluez_p.h
@@ -72,7 +72,7 @@ class Q_BLUETOOTH_EXPORT QBluetoothTransferReplyBluez : public QBluetoothTransfe
public:
explicit QBluetoothTransferReplyBluez(QIODevice *input, const QBluetoothTransferRequest &request,
- QBluetoothTransferManager *parent = 0);
+ QBluetoothTransferManager *parent = nullptr);
~QBluetoothTransferReplyBluez();
bool isFinished() const;
@@ -87,14 +87,14 @@ private slots:
private:
void startOPP(const QString &filename);
- OrgOpenobexClientInterface *m_client;
- AgentAdaptor *m_agent;
- OrgBluezObexClient1Interface *m_clientBluez;
- OrgBluezObexObjectPush1Interface *m_objectPushBluez;
+ OrgOpenobexClientInterface *m_client = nullptr;
+ AgentAdaptor *m_agent = nullptr;
+ OrgBluezObexClient1Interface *m_clientBluez = nullptr;
+ OrgBluezObexObjectPush1Interface *m_objectPushBluez = nullptr;
- QTemporaryFile *m_tempfile;
- QIODevice *m_source;
+ QTemporaryFile *m_tempfile = nullptr;
+ QIODevice *m_source = nullptr;
bool m_running;
bool m_finished;