[PATCH] Tweaks to maintab

Thiago Macieira thiago at macieira.org
Fri May 10 16:02:31 PDT 2013


On sexta-feira, 10 de maio de 2013 23.56.05, amit.k.chaudhuri at gmail.com wrote:
> +               return QString("%1%2%3").arg(celsius, 0, 'f',
> 1).arg(showunit ? (UTF8_DEGREE): "")
> +                                                               .arg(showun
> it ? _("C") : "");

You can write this as:

    return QString("%1%2").arg(celsius, 0, 'f', 1)
	.arg(showunit ? UTF8_DEGREE "C" : "");

Please include the space between UTF8_DEGREE and "C".

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130510/3120eb09/attachment.sig>


More information about the subsurface mailing list