Fixed a possible warning with char* to QString parsing