Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepimlibs4
r896770.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r896770.diff of Package kdepimlibs4
Subject: Fix a crash in KOrganizer when the addressbook contains a LDAP resource. From: wstephenson@suse.de Bug: Patch-upstream: 896770 --- kabc/stdaddressbook.cpp (revision 896769) +++ kabc/stdaddressbook.cpp (revision 896770) @@ -88,6 +88,9 @@ StdAddressBook *StdAddressBook::self( bo if ( !s_gStdAddressBook ) { s_gStdAddressBook = new StdAddressBook( asynchronous, false ); + kDebug() << "calling init after instance creation"; + s_gStdAddressBook->d->init( asynchronous ); + // We don't use a global static here for this reason: // // There are problems with the destruction order: The destructor of @@ -98,8 +101,6 @@ StdAddressBook *StdAddressBook::self( bo // qAddPostRoutine deletes the objects when the QApplication is destroyed, // which is earlier than the global statics, so this will work. qAddPostRoutine( deleteGlobalStdAddressBook ); - - s_gStdAddressBook->d->init( asynchronous ); } return s_gStdAddressBook; Index: kabc/stdaddressbook.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor