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/core/licqkimiface.cpp

    r6463 r6466  
    9595QStringList LicqKIMIface::reachableContacts() 
    9696{ 
    97     ICQOwner* owner = gUserManager.FetchOwner(LOCK_R); 
     97    const ICQOwner* owner = gUserManager.FetchOwner(LOCK_R); 
    9898    bool offline = owner->StatusOffline(); 
    9999    gUserManager.DropOwner();