Bug 315969

Summary: optimise avatarPixmap()
Product: [Unmaintained] telepathy Reporter: Alin M Elena <alinm.elena>
Component: common-internalsAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mklapetek
Priority: NOR    
Version: git-latest   
Target Milestone: 0.6-next   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alin M Elena 2013-03-01 17:59:30 UTC
<http://git.reviewboard.kde.org/r/109231/#comment21158>

    This all needs to go into a QPixmapCache.
    
    Otherwise it'll be run each time. You can use the use the avatarToken + "-offline" as the key.
    
    Files are implicitly cached, the output of this won't be.

Reproducible: Always
Comment 1 Alin M Elena 2013-03-02 10:06:58 UTC
http://doc.qt.digia.com/qq/qq12-qpixmapcache.html
Comment 2 Alin M Elena 2013-03-02 18:56:12 UTC
Git commit baf35cca3abcdcb33f8af93b95f0cd5a60c83115 by Alin M Elena.
Committed on 02/03/2013 at 19:54.
Pushed by elena into branch 'master'.

added caching for transformed avatars
REVIEW: 109240

M  +10   -2    KTp/contact.cpp
M  +1    -0    KTp/contact.h

http://commits.kde.org/telepathy-common-internals/baf35cca3abcdcb33f8af93b95f0cd5a60c83115