Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
None
-
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.