Set default value for geometryData in quickpreview

This fixes a warning about not being able to assign undefined to a
QVariantHash. This commit also removes a few lines of dead code.