[PC-BSD Commits] r17918 - pcbsd/current/src-qt4/pc-servicemanager

svn at pcbsd.org svn at pcbsd.org
Tue Jul 24 12:02:07 PDT 2012


Author: kris
Date: 2012-07-24 19:02:07 +0000 (Tue, 24 Jul 2012)
New Revision: 17918

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

Fix font sizes



Modified: pcbsd/current/src-qt4/pc-servicemanager/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-servicemanager/main.cpp	2012-07-24 18:50:27 UTC (rev 17917)
+++ pcbsd/current/src-qt4/pc-servicemanager/main.cpp	2012-07-24 19:02:07 UTC (rev 17918)
@@ -20,19 +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);
-    } else {
-      QFont f( "Dejavu", 12);
-      a.setFont( f);
-    }
-
     QString chroot, ip;
     if ( argc >= 2)
     {



More information about the Commits mailing list