projects
/
jenirok
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small fixes to call listener's cleanup process.
[jenirok]
/
src
/
daemon
/
calllistener.cpp
diff --git
a/src/daemon/calllistener.cpp
b/src/daemon/calllistener.cpp
index
7990f8a
..
4f2f4b6
100644
(file)
--- 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;
}