I ran into a crash which I traced to a nullptr dereference of a QMenu pointer in case no devices are found, for some reason.
I don't yet understand how the device scan fails but it should not lead to a crash. This patch implements a minimal fix.
stikonas |
KDE Partition Manager |
I ran into a crash which I traced to a nullptr dereference of a QMenu pointer in case no devices are found, for some reason.
I don't yet understand how the device scan fails but it should not lead to a crash. This patch implements a minimal fix.
Lint Skipped |
Unit Tests Skipped |
By the way, what about void MainWindow::onSelectedDeviceMenuTriggered(bool). It has another call to container. Maybe add nullptr check there too?