diff options
Diffstat (limited to 'examples/bluetooth')
-rw-r--r-- | examples/bluetooth/btchat/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/btchat/chat.cpp b/examples/bluetooth/btchat/chat.cpp index c3846319..7fb84ca0 100644 --- a/examples/bluetooth/btchat/chat.cpp +++ b/examples/bluetooth/btchat/chat.cpp @@ -77,7 +77,7 @@ Chat::Chat(QWidget *parent) //! [Construct UI] localAdapters = QBluetoothLocalDevice::allDevices(); - if (localAdapters.count() < 2) { + if (localAdapters.size() < 2) { ui->localAdapterBox->setVisible(false); } else { //we ignore more than two adapters |