[Bug 271943] Random crash when connecting

David Edmundson kde at davidedmundson.co.uk
Thu May 5 22:30:20 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=271943


David Edmundson <kde at davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from David Edmundson <kde davidedmundson co uk>  2011-05-05 22:30:16 ---
Git commit be28fa3db185265a3db7ebffe90fc056f76a5e82 by David Edmundson.
Committed on 04/05/2011 at 17:59.
Pushed by davidedmundson into branch 'master'.

Check for connection being valid rather than looking at the connection status
before calling monitor presence.

There are times when connectionStatus is Connected, but account->connection()
returns 0.
Converted code to call monitorPresence when connectionChanges() not
connectionStatusChanges.

Also updated monitorPresence to take a connectionPtr rather than accountPtr as
it makes the code easier with this new change.

REVIEW: 101288
BUG: 271943

M  +11   -10   main-widget.cpp     
M  +1    -1    main-widget.h     

http://commits.kde.org/telepathy-contact-list/be28fa3db185265a3db7ebffe90fc056f76a5e82

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list