Revision 61a74b6...

Go back to digest for 4th May 2014

Optimization in KDE-PIM

David Edmundson committed changes in [libkpeople] src/personsmodel.cpp:

Use QPixmap for loading images

QPixmap has an implit cache when loading from a path. QImage does not.
This saves a lot of QImage::load calls.

As it goes via QVariant .toImage and .toPixmap work the same as before.
ktp-contactlist used pixmap anyway.

REVIEW: 117850

File Changes

Modified 1 files
  • src/personsmodel.cpp
1 files changed in total