Minor layout optimization
Minor layout optimization

Abort layout traversal when finding the first dirty parent, since
the event was already being posted for the top level layout.

Signed-off-by: Adriano Rezende <adriano.rezende@openbossa.org>

Merge-request: 12
Reviewed-by: Jens Bache-Wiig <9cea9d70b08f8210134ec5959114f72bad51ed1d@nokia.com>

mizukusak/qtquickcontrols,drgvond/qtquickcontrols,jfaust/qtquickcontrols,kobolabs/qtquickcontrols,richardmg/qtcomponents,mizukusak/qtquickcontrols,richardmg/qtcomponents,jfaust/qtquickcontrols,richardmg/qtcomponents,kobolabs/qtquickcontrols,mizukusak/qtquickcontrols,jfaust/qtquickcontrols,drgvond/qtquickcontrols,kobolabs/qtquickcontrols,drgvond/qtquickcontrols