Fix for using a string argument to a slot.  Gets passed as a QString in PyQt.