Hidden items were not added to the ignore list.

The initialization of ignoreItem was simply wrong.

Task-number: QTBUG-31128
Change-Id: I67b41bc30099222d64aa6efb3c28e87a0ce043ca
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>