stefanbeller/tiled — comment on commit 9d7bd49404e2dda3c1128beea44dee1157c8c7dd
File:  line 0
By tuldok89:

could that particular line be replaced with this?

QVector ruleRegionInLayer(tileLayers.size());

I think this will work.