[PC-BSD Commits] r17920 - pcbsd/current/src-qt4/pc-welcome
svn at pcbsd.org
svn at pcbsd.org
Tue Jul 24 12:04:10 PDT 2012
Author: kris
Date: 2012-07-24 19:04:10 +0000 (Tue, 24 Jul 2012)
New Revision: 17920
Modified:
pcbsd/current/src-qt4/pc-welcome/main.cpp
Log:
Don't set fonts manually
Modified: pcbsd/current/src-qt4/pc-welcome/main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-welcome/main.cpp 2012-07-24 19:03:32 UTC (rev 17919)
+++ pcbsd/current/src-qt4/pc-welcome/main.cpp 2012-07-24 19:04:10 UTC (rev 17920)
@@ -21,20 +21,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);
- }
-
-
welcomeWizard w;
w.programInit();
More information about the Commits
mailing list