Remove loop and use QSettings "api" to remove all subkeys.

Change-Id: I40e4a8acc08ac76b59eabd39dd562e37b90313cb
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>