Fixed #14: Wrong task is deleted while searching
This fixes #14 (closed). According to this thread on the Qt Forum, KSortFilterProxyModel forwards all calls to your actual model with the mapped/corrected index. This can be rectified by obtaining the original index by using filteredModel.mapToSource
.