[PC-BSD Commits] r6451 - pcbsd/trunk/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Fri Mar 26 12:22:07 PDT 2010


Author: kris
Date: 2010-03-26 12:22:07 -0700 (Fri, 26 Mar 2010)
New Revision: 6451

Modified:
   pcbsd/trunk/SysInstaller/sys-installwidget.cpp
Log:

Tighten up code for reading output during install



Modified: pcbsd/trunk/SysInstaller/sys-installwidget.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sys-installwidget.cpp	2010-03-26 19:14:52 UTC (rev 6450)
+++ pcbsd/trunk/SysInstaller/sys-installwidget.cpp	2010-03-26 19:22:07 UTC (rev 6451)
@@ -101,17 +101,14 @@
 void SysInstaller::slotReadInstallerOutput()
 {
   QString tmp, line;
-  int range, progress;
+  int range;
   bool ok;
 
 
   while ( installProc->canReadLine() )
   {
-     tmp = installProc->readLine();
-     tmp = tmp.simplified();
-
+     tmp = installProc->readLine(70);
      //qDebug() << tmp;
-     tmp.truncate(70);
 
      // Check if we are doing Fetch Output
      if ( installFoundFetchOutput )



More information about the Commits mailing list