Fix the new smogon button code not being portable

It didn't compile on Mac, void* should be the standard way to store
pointers in QVariant.