Some improvement code (QString to std::string)