Show
Ignore:
Timestamp:
07/25/08 04:15:48 (4 months ago)
Author:
flynd
Message:

Use const pointer for owner objects that are fetched only for read access.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/userevents/usersendcommon.cpp

    r6463 r6466  
    251251        QTextCodec* myCodec = UserCodec::codecForICQUser(u); 
    252252        QString contactName = QString::fromUtf8(u->GetAlias()); 
    253         ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R); 
     253        const ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R); 
    254254        QString ownerName; 
    255255        if (o)