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/dialogs/randomchatdlg.cpp

    r6374 r6466  
    181181  myGroupsList->addItem(tr("Seeking Men")); 
    182182 
    183   ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    184   if (o == 0) 
     183  const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
     184  if (o == NULL) 
    185185  { 
    186186    close();