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/securitydlg.cpp

    r6374 r6466  
    5151  setWindowTitle(title); 
    5252 
    53   ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
     53  const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    5454  if (o == NULL) 
    5555  { 
     
    9999void SecurityDlg::ok() 
    100100{ 
    101   ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
     101  const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
    102102 
    103103  if (o == NULL)