[PC-BSD Commits] r12080 - pcbsd/current/src-qt4/pc-controlpanel

svn at pcbsd.org svn at pcbsd.org
Wed Aug 10 12:04:52 PDT 2011


Author: kris
Date: 2011-08-10 12:04:52 -0700 (Wed, 10 Aug 2011)
New Revision: 12080

Modified:
   pcbsd/current/src-qt4/pc-controlpanel/item.cpp
Log:

UTF-8 is good, use it for reading items and displaying special chars



Modified: pcbsd/current/src-qt4/pc-controlpanel/item.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-controlpanel/item.cpp	2011-08-10 18:55:50 UTC (rev 12079)
+++ pcbsd/current/src-qt4/pc-controlpanel/item.cpp	2011-08-10 19:04:52 UTC (rev 12080)
@@ -72,6 +72,7 @@
     QSettings Reader(FileName, QSettings::IniFormat);
     if (Reader.status() != QSettings::NoError)
         return false;
+    Reader.setIniCodec("UTF-8");
 
     Reader.beginGroup("Desktop Entry");
 



More information about the Commits mailing list