author | zautrix <zautrix> | 2004-07-03 21:47:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 21:47:33 (UTC) |
commit | 5e59162e6eb6603610d1ca4c96d5d97acae0f60b (patch) (unidiff) | |
tree | c891d1e2125cf6f68509332fe06c878709525480 | |
parent | 54e76d203297aa5da51342492d482187f4d6cd20 (diff) | |
download | kdepimpi-5e59162e6eb6603610d1ca4c96d5d97acae0f60b.zip kdepimpi-5e59162e6eb6603610d1ca4c96d5d97acae0f60b.tar.gz kdepimpi-5e59162e6eb6603610d1ca4c96d5d97acae0f60b.tar.bz2 |
Fixed crash when accessing opie resource
-rw-r--r-- | kabc/plugins/opie/resourceopie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kabc/plugins/opie/resourceopie.cpp b/kabc/plugins/opie/resourceopie.cpp index a4f8d8a..3b2a6b7 100644 --- a/kabc/plugins/opie/resourceopie.cpp +++ b/kabc/plugins/opie/resourceopie.cpp | |||
@@ -214,17 +214,18 @@ bool ResourceOpie::load() | |||
214 | addressee.setResource( this ); | 214 | addressee.setResource( this ); |
215 | addressBook()->insertAddressee( addressee ); | 215 | addressBook()->insertAddressee( addressee ); |
216 | } | 216 | } |
217 | 217 | ||
218 | // qDebug("found %s", c.fullName().latin1()); | 218 | // qDebug("found %s", c.fullName().latin1()); |
219 | } | 219 | } |
220 | 220 | ||
221 | delete access; | 221 | delete access; |
222 | delete backend; | 222 | // it seems so, that deletion of access deletes backend as well |
223 | //delete backend; | ||
223 | 224 | ||
224 | return true; | 225 | return true; |
225 | } | 226 | } |
226 | 227 | ||
227 | bool ResourceOpie::save( Ticket *ticket ) | 228 | bool ResourceOpie::save( Ticket *ticket ) |
228 | { | 229 | { |
229 | qDebug("ResourceOpie::save() has to be fixed - %s", mFileName.latin1()); | 230 | qDebug("ResourceOpie::save() has to be fixed - %s", mFileName.latin1()); |
230 | /*US | 231 | /*US |