Fixes Windows/Linux issue with integer Qt settings.

Same issue as with tk-multi-workfiles.