KSaveFile

Oswald Buddenhagen ossi at kde.org
Sun Feb 22 13:02:43 GMT 2004


On Sun, Feb 22, 2004 at 12:51:49PM +0000, Julian Rockey wrote:
> --- ksavefile.cpp	30 Apr 2003 11:04:44 -0000	1.10
> +++ ksavefile.cpp	22 Feb 2004 12:43:21 -0000
> @@ -53,6 +53,19 @@ KSaveFile::KSaveFile(const QString &file
>     if (mTempFile.create(filename, QString::fromLatin1(".new"), mode))
>     {
>        mFileName = filename; // Set filename upon success
> +         chmod(QFile::encodeName(mTempFile.name()), stat_buf.st_mode );
>     }
>
how about changing the mode parameter of the create call instead? ;)

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list