Changeset 6381 for trunk/qt-gui/src/wharf.cpp
- Timestamp:
- 07/01/08 17:03:38 (5 months ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/wharf.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/wharf.cpp
r5514 r6381 219 219 { 220 220 QPixmap m; 221 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);221 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 222 222 if (o == 0) return; 223 223 switch (o->Status()) … … 232 232 } 233 233 if (o->StatusInvisible()) m = QPixmap((const char **)iconInvisible_xpm); 234 gUserManager.DropOwner( );234 gUserManager.DropOwner(o); 235 235 QPainter painter(wharfIcon->vis); 236 236 if (!m_bFortyEight) … … 264 264 QPixmap *IconManager_Default::GetDockIconStatusIcon() 265 265 { 266 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);266 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 267 267 if (o == 0) return NULL; 268 268 269 269 unsigned long s = o->Status(); 270 gUserManager.DropOwner( );270 gUserManager.DropOwner(o); 271 271 switch (s) 272 272 { … … 548 548 { 549 549 QPixmap *p = NULL; 550 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);550 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 551 551 if (o == 0) return; 552 552 switch (o->Status()) … … 561 561 } 562 562 if (o->StatusInvisible()) p = pixInvisible; 563 gUserManager.DropOwner( );563 gUserManager.DropOwner(o); 564 564 if (p != NULL) 565 565 { … … 667 667 { 668 668 //TODO make general for all plugins 669 ICQOwner *o = gUserManager.FetchOwner(LOCK_R);669 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 670 670 if (o == 0) return; 671 671 m_statusIcon = CMainWindow::iconForStatus(o->StatusFull()); 672 672 m_ownerStatus = o->Status(); 673 673 m_bStatusInvisible = o->StatusInvisible(); 674 gUserManager.DropOwner( );674 gUserManager.DropOwner(o); 675 675 676 676 updateTooltip();
