Skip to content

pavuapplication: initialize members in the constructor

Tanu Kaskinen requested to merge tanuk/pavucontrol:startup-crash into master

It seems that without explicit initialization of the members they remain uninitialized. The lack of initialization caused crashing, because PavuApplication::on_activate() creates the MainWindow only if mainWindow is NULL, and if it's some random value instead, on_activate() calls selectTab() on a non-existent window.

Fixes: #49 (closed)

Merge request reports