[PC-BSD Commits] r19983 - pcbsd/branches/9.1/src-qt4/pc-netmanager/src/NetworkTray

svn at pcbsd.org svn at pcbsd.org
Fri Oct 26 10:32:19 PDT 2012


Author: kris
Date: 2012-10-26 17:32:18 +0000 (Fri, 26 Oct 2012)
New Revision: 19983

Modified:
   pcbsd/branches/9.1/src-qt4/pc-netmanager/src/NetworkTray/NetworkTray.cpp
Log:

MFC fix for processEvents()



Modified: pcbsd/branches/9.1/src-qt4/pc-netmanager/src/NetworkTray/NetworkTray.cpp
===================================================================
--- pcbsd/branches/9.1/src-qt4/pc-netmanager/src/NetworkTray/NetworkTray.cpp	2012-10-26 17:31:37 UTC (rev 19982)
+++ pcbsd/branches/9.1/src-qt4/pc-netmanager/src/NetworkTray/NetworkTray.cpp	2012-10-26 17:32:18 UTC (rev 19983)
@@ -567,8 +567,7 @@
    QProcess *getIfProc = new QProcess();
    getIfProc->start(IFCONFIG, QStringList() << DeviceName);
    while(getIfProc->state() == QProcess::Starting || getIfProc->state() == QProcess::Running) {
-      getIfProc->waitForFinished(500);
-      QCoreApplication::processEvents();
+      getIfProc->waitForFinished(50);
    }
 
    ifconfigOutput.clear();



More information about the Commits mailing list