projects
/
jenirok
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
86fd9a5
)
Small fixes to call listener's cleanup process.
author
eshe
<jessehakanen@gmail.com>
Fri, 4 Jun 2010 22:15:02 +0000
(23:15 +0100)
committer
eshe
<jessehakanen@gmail.com>
Fri, 4 Jun 2010 22:15:02 +0000
(23:15 +0100)
src/daemon/calllistener.cpp
patch
|
blob
|
history
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;
}