removed code block that will never be executed (we test for category to be "Persons", "Locations", or something else, so mapped will always be set and never be empty).
Fixed the category name fix also for old un-compressed databases.
Fix issue with version 6 DBs not being read.
Add testcases for database version 6 transition.
BUG:340963 Making selection of folders (and probably tags in general) containing a "&" possible.
Hide all buttons on the preview widget if the annotation dialog is started in search mode. Disable the "Train recognition database automatically" checkbox if the dialog is started in multi-image mode.
Exclude the libkface related functions from ImagePreview instead of having empty functions if we don't have libkface.
Fixed the creation of the match string using the search dialog for selecting tags by mouse click (direct typing is still to do).
Fixed the search string creation for direct typing.
kpa-backup.sh: use kde4-config to determine local prefix.