[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2675: Remove the _okStart member variable and onStart() slot from (in vidalia: . trunk/src/vidalia)



Author: edmanm
Date: 2008-06-06 19:28:53 -0400 (Fri, 06 Jun 2008)
New Revision: 2675

Modified:
   vidalia/
   vidalia/trunk/src/vidalia/helperprocess.cpp
   vidalia/trunk/src/vidalia/helperprocess.h
Log:
 r481@thebe:  edmanm | 2008-06-06 19:28:12 -0400
 Remove the _okStart member variable and onStart() slot from HelperProcess,
 since they aren't currently used.



Property changes on: vidalia
___________________________________________________________________
 svk:merge ticket from /local/vidalia [r481] on 45a62a8a-8088-484c-baad-c7b3e776dd32

Modified: vidalia/trunk/src/vidalia/helperprocess.cpp
===================================================================
--- vidalia/trunk/src/vidalia/helperprocess.cpp	2008-06-06 23:28:48 UTC (rev 2674)
+++ vidalia/trunk/src/vidalia/helperprocess.cpp	2008-06-06 23:28:53 UTC (rev 2675)
@@ -50,12 +50,6 @@
   // Call error handling routine on errors
   QObject::connect(this, SIGNAL(error(QProcess::ProcessError)),
                    this, SLOT(onError(QProcess::ProcessError)));
-  // Call started handler on successful startup
-  QObject::connect(this, SIGNAL(started()),
-                   this, SLOT(onStart()));
-
-  // Mark as not having started
-  _okStart = false;
 }
 
 /** Start the specified application. */
@@ -76,16 +70,10 @@
   }
 }
 
-/** Invoked when underlying QProcess starts. */
-void
-HelperProcess::onStart()
-{
-  _okStart = true;
-}
-
 /** Returns true iff process is not running. */
 bool
 HelperProcess::isDone() const
 {
   return state() == NotRunning;
 }
+

Modified: vidalia/trunk/src/vidalia/helperprocess.h
===================================================================
--- vidalia/trunk/src/vidalia/helperprocess.h	2008-06-06 23:28:48 UTC (rev 2674)
+++ vidalia/trunk/src/vidalia/helperprocess.h	2008-06-06 23:28:53 UTC (rev 2675)
@@ -56,15 +56,9 @@
   /** Returns true iff process is not running. */
   bool isDone() const;
 
-private:
-  /** True iff the underlying QProcess has sucessfully started */
-  bool _okStart;
-
 private slots:
   /** Invoked when underlying QProcess fails. */
   void onError(QProcess::ProcessError error);
-  /** Invoked when underlying QProcess starts. */
-  void onStart();
 
 signals:
   /** Invoked when start() fails. */
@@ -72,3 +66,4 @@
 };
 
 #endif
+