Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to clear QBluetoothDeviceDiscoveryAgent::discoveredDevices() ?

how to clear QBluetoothDeviceDiscoveryAgent::discoveredDevices() ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 392 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Haponov
    wrote on last edited by
    #1

    In case of repeating scanning for bluetooth devices with the same QBluetoothDeviceDiscoveryAgent object, it stores found devices in discoveredDevices() list forever - how can it be cleared?

    http://code.qt.io/cgit/qt/qtconnectivity.git/commit/?id=5382ada3cb21cfa2721e4f50ced2d288c156018b
    states

     discoveredDevices.clear();
    

    in start() method but doing stop() and then start() for the same QBluetoothDeviceDiscoveryAgent object does not clear this list.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved