Show
Ignore:
Timestamp:
05/25/08 11:57:26 (6 months ago)
Author:
eugene
Message:

Fixed several typos and one case when we reference an already dropped user instance.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/contactlist/contactuserdata.cpp

    r6155 r6205  
    117117      if (sig->Argument() == 0) 
    118118      { 
    119         // User fetched our auto respons message 
     119        // User fetched our auto response message 
    120120        myCarCounter = ((5*1000/FLASH_TIME)+1)&(-2); 
    121121        startAnimation(); 
     
    485485  u->SetKeepAliasOnUpdate(true); 
    486486 
    487   // Daemon dosen't send signal when alias is changed so trigger update from here 
     487  // Daemon doesn't send signal when alias is changed so trigger update from here 
    488488  updateText(u); 
    489489  updateSorting(); 
     
    503503    return; 
    504504 
    505   bool hasChanged = updateText(u); 
    506   gUserManager.DropUser(u); 
    507  
    508505  // Check if birthday icon should be updated 
    509506  bool birthday = (u->Birthday() == 0); 
     507  bool hasChanged = updateText(u); 
     508 
     509  gUserManager.DropUser(u); 
     510 
    510511  if (birthday != myBirthday) 
    511512  { 
     
    518519  } 
    519520 
    520   // To reduce performance impact on refreshs, keep track whether anything changed so we don't force unnecessary updates 
     521  // To reduce performance impact on refreshes, keep track on 
     522  // whether anything has changed so we don't force unnecessary updates 
    521523  if (hasChanged) 
    522524  {