[Telepathy-commits] [telepathy-qt4/master] PinocchioTest: remove spurious timer stop signal

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Dec 10 03:42:33 PST 2008


This one wasn't automatically cancelled before starting the actual test,
causing tests to appear to pass when they should have failed.
---
 tests/pinocchio/lib.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tests/pinocchio/lib.cpp b/tests/pinocchio/lib.cpp
index cfcac7b..ecdd8b8 100644
--- a/tests/pinocchio/lib.cpp
+++ b/tests/pinocchio/lib.cpp
@@ -122,7 +122,6 @@ bool PinocchioTest::waitForPinocchio(uint timeoutMs)
     connect(&timer, SIGNAL(timeout()), mLoop, SLOT(quit()));
     timer.setSingleShot(true);
     timer.start(timeoutMs);
-    QTimer::singleShot(timeoutMs, mLoop, SLOT(quit()));
 
     DBusDaemonInterface busDaemon("org.freedesktop.DBus", "/org/freedesktop/DBus");
     connect(&busDaemon,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list