[PC-BSD Commits] r2778 - in pcbsd: branches/7.0/PBIThumbnailCreator trunk/PBIThumbnailCreator

svn at pcbsd.org svn at pcbsd.org
Tue Sep 16 11:44:41 PDT 2008


Author: kris
Date: 2008-09-16 11:44:40 -0700 (Tue, 16 Sep 2008)
New Revision: 2778

Modified:
   pcbsd/branches/7.0/PBIThumbnailCreator/pbicreator.cpp
   pcbsd/trunk/PBIThumbnailCreator/pbicreator.cpp
Log:

Fixed a bug in the PBI thumbnail creator which caused problems rendering PBI thumbnails on systems using UTF-8



Modified: pcbsd/branches/7.0/PBIThumbnailCreator/pbicreator.cpp
===================================================================
--- pcbsd/branches/7.0/PBIThumbnailCreator/pbicreator.cpp	2008-09-16 16:59:28 UTC (rev 2777)
+++ pcbsd/branches/7.0/PBIThumbnailCreator/pbicreator.cpp	2008-09-16 18:44:40 UTC (rev 2778)
@@ -42,6 +42,7 @@
    if (!file.open(QIODevice::ReadOnly)) return false;
 
    QTextStream stream(&file);
+   stream.setCodec("ISO 8859-1");
    bool inIcon = false;
    qint64 startPos = 0;
    qint64 finishPos = 0;

Modified: pcbsd/trunk/PBIThumbnailCreator/pbicreator.cpp
===================================================================
--- pcbsd/trunk/PBIThumbnailCreator/pbicreator.cpp	2008-09-16 16:59:28 UTC (rev 2777)
+++ pcbsd/trunk/PBIThumbnailCreator/pbicreator.cpp	2008-09-16 18:44:40 UTC (rev 2778)
@@ -42,6 +42,7 @@
    if (!file.open(QIODevice::ReadOnly)) return false;
 
    QTextStream stream(&file);
+   stream.setCodec("ISO 8859-1");
    bool inIcon = false;
    qint64 startPos = 0;
    qint64 finishPos = 0;



More information about the Commits mailing list