Qt: PLModel: don't rely on model's root for finding root type