summaryrefslogtreecommitdiff
path: root/examples/bluetooth/btchat/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/btchat/chat.h')
-rw-r--r--examples/bluetooth/btchat/chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/btchat/chat.h b/examples/bluetooth/btchat/chat.h
index a9e99395..1c9d3211 100644
--- a/examples/bluetooth/btchat/chat.h
+++ b/examples/bluetooth/btchat/chat.h
@@ -45,7 +45,7 @@ private:
int currentAdapterIndex = 0;
Ui::Chat *ui;
- ChatServer *server;
+ ChatServer *server = nullptr;
QList<ChatClient *> clients;
QList<QBluetoothHostInfo> localAdapters;