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.

Location:
trunk/qt4-gui/src/views
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/views/floatyview.cpp

    r6151 r6463  
    3939UserFloatyList FloatyView::floaties; 
    4040 
    41 FloatyView::FloatyView(ContactListModel* contactList, ICQUser* licqUser,  QWidget* parent) 
     41FloatyView::FloatyView(ContactListModel* contactList, const ICQUser* licqUser,  QWidget* parent) 
    4242  : UserViewBase(contactList, parent), 
    4343  myPpid(licqUser->PPID()) 
  • trunk/qt4-gui/src/views/floatyview.h

    r6151 r6463  
    4747   * @param parent Parent object 
    4848   */ 
    49   FloatyView(ContactListModel* contactList, ICQUser* licqUser, QWidget* parent = 0); 
     49  FloatyView(ContactListModel* contactList, const ICQUser* licqUser, QWidget* parent = 0); 
    5050 
    5151  /**