> QByteArray tmp = username.toAscii();
const QByteArray &tmp = username.toAscii(); // avoid copy: const ref to function result ==
// keep automatic variable intact until end of scope
--
Regards,
Ivan Kharin