gui: Avoid temporary std::string by calling QString::fromLatin1 where possible.