Add missing initialization from previous commit
Remove some const qualifiers, due to Qt not being OK with QPointer specialized with constant QObject types