diff options
Diffstat (limited to 'multimedia/kdemultimedia3/files/patch-CDDialog.cpp')
-rw-r--r-- | multimedia/kdemultimedia3/files/patch-CDDialog.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/multimedia/kdemultimedia3/files/patch-CDDialog.cpp b/multimedia/kdemultimedia3/files/patch-CDDialog.cpp deleted file mode 100644 index 3ecedcb68ced..000000000000 --- a/multimedia/kdemultimedia3/files/patch-CDDialog.cpp +++ /dev/null @@ -1,30 +0,0 @@ ---- kscd/CDDialog.cpp.orig Fri Nov 24 18:13:01 2000 -+++ kscd/CDDialog.cpp Mon Nov 27 10:22:44 2000 -@@ -24,6 +24,7 @@ - - #include <klocale.h> - #include <kdebug.h> -+#include <ktempfile.h> - - #include <stdio.h> - #include <math.h> -@@ -427,8 +428,9 @@ - dialog->getSelection(submitcat); - delete dialog; - -- QString tempfile; -- tempfile = tmpnam(0L); -+ KTempFile tmpFile; -+ tmpFile.setAutoDelete(true); // delete file when we are done. -+ QString tempfile = tmpFile.name(); - - save_cddb_entry(tempfile,true); - -@@ -515,7 +517,6 @@ - file.close(); - // file2.close(); // ***** - -- unlink(QFile::encodeName(tempfile)); - kdDebug() << "DONE SENDING\n" << endl; - } // upload - |