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

List:       kde-commits
Subject:    koffice/krita/plugins/formats/ppm
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2009-11-13 13:39:36
Message-ID: 1258119576.663525.21616.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1048521 by rempt:

same fix as for jpeg: toLocalUrl instead of path()

 M  +1 -1      kis_ppm_import.cpp  


--- trunk/koffice/krita/plugins/formats/ppm/kis_ppm_import.cpp #1048520:1048521
@@ -93,7 +93,7 @@
         uriTF.setPath(tmpFile);
 
         // open the file
-        QFile *fp = new QFile(uriTF.path());
+        QFile *fp = new QFile(uriTF.toLocalFile());
         if (fp->exists()) {
             doc->prepareForImport();
             result = loadFromDevice(fp, doc);
[prev in list] [next in list] [prev in thread] [next in thread] 

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