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

List:       kde-commits
Subject:    kdemultimedia/xine_artsplugin/tools/thumbnail
From:       Maks Orlovich <maksim () kde ! org>
Date:       2005-02-06 14:47:06
Message-ID: 20050206144706.C44AF1B49D () office ! kde ! org
[Download RAW message or body]

CVS commit by orlovich: 

More sensible encoding
BUG:97740


  M +3 -2      videocreator.cpp   1.10


--- kdemultimedia/xine_artsplugin/tools/thumbnail/videocreator.cpp  #1.9:1.10
@@ -29,4 +29,5 @@
 #include <qpixmap.h>
 #include <qdialog.h>
+#include <qfile.h>
 #include <qimage.h>
 #include <qpainter.h>
@@ -309,5 +310,5 @@ bool VideoCreator::create(const QString 
     bool success = false;
 
-    if (xine_open( stream, path.ascii() ))
+    if (xine_open( stream, QFile::encodeName ( path ).data() ))
     {
         xine_video_frame_t frame;


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

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