Splitting this code in 2 methods is a little useless no ? We do this for meshes because create_thumbnails is actually a slot, called from the non-GUI thread, Here the split is not necessary.