X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdaemon%2Fcalllistener.cpp;fp=src%2Fdaemon%2Fcalllistener.cpp;h=4f2f4b6d51c35dc519319dc3ed15c181daf7ffdf;hb=1b655303ed6cf429ac7acb04be76fc7dd4550188;hp=7990f8a4775b5b7083747561d8c0e044cce18ec6;hpb=86fd9a58d85dc062736f8085d9d9898cec725e15;p=jenirok 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; }