Changeset 6478 for trunk/qt4-gui/src

Show
Ignore:
Timestamp:
08/08/08 02:55:40 (4 months ago)
Author:
flynd
Message:

Don't compare bool with int.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/userdlg/modes.cpp

    r6477 r6478  
    364364  { 
    365365    bool inGroup = mySystemGroupCheck[i]->isChecked(); 
    366     if ((systemGroups & (1L << (i - 1))) != inGroup) 
     366    if (((systemGroups & (1L << (i - 1))) != 0) != inGroup) 
    367367      gUserManager.SetUserInGroup(id.toLatin1().data(), ppid, GROUPS_SYSTEM, i, inGroup, true); 
    368368  }