[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/kbabel/kbabel
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-12-31 9:32:32
Message-ID: 1136021552.551272.30676.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492818 by goutte:

Delete correctly the file
(However this not fix the bad use of KTempFile in this function.)


 M  +1 -7      kbabelview.cpp  


--- branches/KDE/3.5/kdesdk/kbabel/kbabel/kbabelview.cpp #492817:492818
@@ -33,12 +33,6 @@
 
 **************************************************************************** */
 
-#include "config.h"
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
 #include "kbabelview.h"
 
 #include "catalogfileplugin.h"
@@ -1616,7 +1610,7 @@
 	}
     }
     
-    unlink(tmpname.local8Bit());
+    QFile::remove( tmpname );
 
     return result;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic