Fixed priority to use QString directly instead of lexical cast.