[PC-BSD Commits] r17921 - pcbsd/current/src-qt4/pc-xgui
svn at pcbsd.org
svn at pcbsd.org
Tue Jul 24 12:04:43 PDT 2012
Author: kris
Date: 2012-07-24 19:04:43 +0000 (Tue, 24 Jul 2012)
New Revision: 17921
Modified:
pcbsd/current/src-qt4/pc-xgui/main.cpp
Log:
Dont set fonts
Modified: pcbsd/current/src-qt4/pc-xgui/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-xgui/main.cpp 2012-07-24 19:04:10 UTC (rev 17920)
+++ pcbsd/current/src-qt4/pc-xgui/main.cpp 2012-07-24 19:04:43 UTC (rev 17921)
@@ -22,21 +22,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 Tmp = a.argv()[1];
if ( argc == 2)
More information about the Commits
mailing list