Show
Ignore:
Timestamp:
07/24/08 04:08:58 (4 months ago)
Author:
flynd
Message:

Use a const pointer for user objects that are only fetched for read access. Fixed some places where we changed the user even though we just had a read lock.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/widgets/historyview.cpp

    r6374 r6463  
    397397  } 
    398398 
    399   ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 
     399  const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 
    400400  if (u != NULL) 
    401401  {