[PC-BSD Commits] r17919 - pcbsd/current/src-qt4/pc-sysmanager

svn at pcbsd.org svn at pcbsd.org
Tue Jul 24 12:03:32 PDT 2012


Author: kris
Date: 2012-07-24 19:03:32 +0000 (Tue, 24 Jul 2012)
New Revision: 17919

Modified:
   pcbsd/current/src-qt4/pc-sysmanager/main.cpp
Log:

Dont need to set fonts for other langs



Modified: pcbsd/current/src-qt4/pc-sysmanager/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysmanager/main.cpp	2012-07-24 19:02:07 UTC (rev 17918)
+++ pcbsd/current/src-qt4/pc-sysmanager/main.cpp	2012-07-24 19:03:32 UTC (rev 17919)
@@ -20,17 +20,6 @@
    a.installTranslator( &translator );
    qDebug() << "Locale:" << langCode;
 
-   // Check the language we are running in, and set the correct font
-   if (  langCode == "zh_CN" ||  langCode == "zh_TW" )
-   {
-     QFont f( "mingunittf", 10);
-     a.setFont( f);
-   } else if ( langCode == "ja" ) {
-     QFont f( "vlgothic", 10);
-     a.setFont( f);
-   }
-    
- 
    PBSystemTab w;
 
    w.ProgramInit();



More information about the Commits mailing list