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

[vidalia-svn] r3536: Fix a couple non-existent slot warnings from Qt that only oc (vidalia/trunk/src/torcontrol)



Author: edmanm
Date: 2009-02-16 23:56:29 -0500 (Mon, 16 Feb 2009)
New Revision: 3536

Modified:
   vidalia/trunk/src/torcontrol/torcontrol.cpp
Log:

Fix a couple non-existent slot warnings from Qt that only occur on Win32
(and only exist in code that isn't used anyway).


Modified: vidalia/trunk/src/torcontrol/torcontrol.cpp
===================================================================
--- vidalia/trunk/src/torcontrol/torcontrol.cpp	2009-02-17 04:15:10 UTC (rev 3535)
+++ vidalia/trunk/src/torcontrol/torcontrol.cpp	2009-02-17 04:56:29 UTC (rev 3536)
@@ -46,11 +46,11 @@
 
 #if defined(Q_OS_WIN32)
   _torService = new TorService(this);
-  QObject::connect(_torService, SIGNAL(started()), this, SLOT(onStarted()));
+  QObject::connect(_torService, SIGNAL(started()), this, SIGNAL(started()));
   QObject::connect(_torService, SIGNAL(finished(int, QProcess::ExitStatus)),
                    this, SLOT(onStopped(int, QProcess::ExitStatus)));
   QObject::connect(_torService, SIGNAL(startFailed(QString)),
-                   this, SLOT(onStartFailed(QString))); 
+                   this, SIGNAL(onStartFailed(QString))); 
 #endif
 }