Qt4: restart the playlist in the correct state when closed