GUIHelpers::Error::what() returned a char* to a temporary QByteArray which is invalid after leaving what()