Revision 1a4084d...

Go back to digest for 12th August 2012

Optimization in Networking Tools

Martin Klapetek committed changes in [ktp-contact-list] global-presence-chooser.cpp:

Don't remove and insert a temp presence, but only update it if it exists

Inserting the temp presence first and then removing it afterwards causes indexes shift, which in turn can cause problems, like accidental "now playing..." presence being selected and activated and then being deactivated right away when the old temp presence was removed and indexes were shifted again.
This is a clearer approach, which only updates the temp presence if it is already being used.

Reviewed-by: David Edmundson

File Changes

Modified 1 files
  • global-presence-chooser.cpp
1 files changed in total