Hidden items were not added to the ignore list.
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 <881e230b58d8abf8efbd9b8ce5a2db05f1d53614@digia.com>

mizukusak/qtquickcontrols,mizukusak/qtquickcontrols,kobolabs/qtquickcontrols,drgvond/qtquickcontrols,mizukusak/qtquickcontrols,kobolabs/qtquickcontrols,kobolabs/qtquickcontrols,drgvond/qtquickcontrols,drgvond/qtquickcontrols