[PC-BSD Commits] r19428 - pcbsd/current/src-qt4/EasyPBI

svn at pcbsd.org svn at pcbsd.org
Thu Sep 20 10:09:28 PDT 2012


Author: kenmoore
Date: 2012-09-20 17:09:28 +0000 (Thu, 20 Sep 2012)
New Revision: 19428

Modified:
   pcbsd/current/src-qt4/EasyPBI/mainwindow.cpp
Log:
Minor fix for EasyPBI, set the build terminated flag right before terminating the build process, just to make sure the "finished" slot has the flags set properly.



Modified: pcbsd/current/src-qt4/EasyPBI/mainwindow.cpp
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/mainwindow.cpp	2012-09-20 16:14:28 UTC (rev 19427)
+++ pcbsd/current/src-qt4/EasyPBI/mainwindow.cpp	2012-09-20 17:09:28 UTC (rev 19428)
@@ -567,9 +567,9 @@
 void MainWindow::killPBIBuild(){
   if( p->state()==QProcess::Running ){
     //qDebug() << "Process PID:" << p->pid(); 
+    PBI_BUILD_TERMINATED=TRUE;    
     p->terminate();
     ui -> buildOutputArea->append("---PBI Build Terminated---");
-    PBI_BUILD_TERMINATED=TRUE;
   }
 }
 



More information about the Commits mailing list