autostart doesn't get disabled

In the migration to qt we have lost the autostart disable functionality. Now autostart gets enabled, but never disabled.