wrong declarartion of local QVariant removed