[PC-BSD Commits] r3751 - pcbsd/trunk/PCInstall
svn at pcbsd.org
svn at pcbsd.org
Fri Apr 3 10:04:05 PST 2009
Author: kris
Date: 2009-04-03 11:04:04 -0700 (Fri, 03 Apr 2009)
New Revision: 3751
Modified:
pcbsd/trunk/PCInstall/pcinstall.cpp
Log:
Fixed the bug applying the language settings when doing an upgrade
Modified: pcbsd/trunk/PCInstall/pcinstall.cpp
===================================================================
--- pcbsd/trunk/PCInstall/pcinstall.cpp 2009-04-03 14:35:08 UTC (rev 3750)
+++ pcbsd/trunk/PCInstall/pcinstall.cpp 2009-04-03 18:04:04 UTC (rev 3751)
@@ -2094,12 +2094,15 @@
ExtractSize = ExtractSize + 1;
installProgress->setProgress(ExtractSize);
+ tmp = listBoxLang->currentText();
+ tmp.remove(0, tmp.find("(") + 1 );
+ tmp.truncate(tmp.find(")") );
+
+
// Start with the update system config script
SystemConfig= new Q3Process( this );
SystemConfig->addArgument( "/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh" );
- SystemConfig->addArgument( "IGNORE" );
- SystemConfig->addArgument( "IGNORE" );
- SystemConfig->addArgument(tr("Start"));
+ SystemConfig->addArgument( tmp );
if ( checkAllowBSDSTATS->isChecked() )
{
More information about the Commits
mailing list