Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47773

Bluetooth Scanner Example crashes

    XMLWordPrintable

Details

    • caef6445a95dd1941fdf583f09407e1e32b11249

    Description

      Steps to reproduce the crash:

      • turn off wireless radio so that no device is discovered
      • run the application and right click (a couple of times) on the list widget on the application: the application crashes.

      This because of this code fragment:
      QListWidgetItem *currentItem = ui->list->currentItem();
      QString text = currentItem->text();

      in function displayPairingMenu(const QPoint &pos)
      not checking if the list has elements (none in my case) or currentItem is null.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            andrea.bergamini Andrea Bergamini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes