[kdelibs/frameworks] /: Deprecate KTempDir, with full porting instructions.

Pau Garcia i Quiles pgquiles at elpauer.org
Sun Dec 4 23:34:54 UTC 2011


On Sun, Dec 4, 2011 at 11:41 PM, David Faure <faure at kde.org> wrote:

> + * This should be ported to
> + *    QTemporaryDir(QDir::tempPath() + QLatin1Char('/') + prefix);

Shouldn't that be QDir::separator() ?

(yes, I know '/' works on Windows, it QDir::separator() guarantees
full present and future cross-platform portability)

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


More information about the Kde-frameworks-devel mailing list