Instead of setting once for every resize (```ConfigObject::set``` is ```O(n)``` because it's implemented as a list instead of a hash table as it ought to be), you could instead just save this once in the destructor. The only downside would be that if Mixxx crashes it won't get written. You'll also need to change the destructor in mixxx.cpp to save the config after deleting the preferences dialog.