fixed non-accepted argument

Mywriter.writeslots()-Function does take a temporary QString only as its
argument instead a function which returns a QString directly.