From 1b655303ed6cf429ac7acb04be76fc7dd4550188 Mon Sep 17 00:00:00 2001 From: eshe Date: Fri, 4 Jun 2010 23:15:02 +0100 Subject: [PATCH] Small fixes to call listener's cleanup process. --- src/daemon/calllistener.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/daemon/calllistener.cpp b/src/daemon/calllistener.cpp index 7990f8a..4f2f4b6 100644 --- a/src/daemon/calllistener.cpp +++ b/src/daemon/calllistener.cpp @@ -291,6 +291,12 @@ void CallListener::searchInit() { qDebug() << "Initializing search..."; + if(initialized_) + { + qDebug() << "Already initialized"; + return; + } + connectionManager_ = new ConnectionManager; eniro_ = new Eniro(site_); @@ -329,4 +335,5 @@ void CallListener::searchClose() eniro_ = 0; delete box_; box_ = 0; + label_ = 0; } -- 1.7.9.5