delete Qt widgets a bit later

reason: it caused dnc to crash when Next was clicked in the
provisioning wizard
Merge pull request #75 from duthils/segfault-macos

delete Qt widgets a bit later