Changeset ec5b219


Ignore:
Timestamp:
11/14/13 15:36:41 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
4d01922
Parents:
0ffa8c4
Message:

Cleanup some clang warnings

Location:
src-qt4/pc-usermanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-usermanager/main.cpp

    r38bddb5 rec5b219  
    2626       QString chkarg = argv[1]; 
    2727       // Running in a warden jail? 
    28        if ( chkarg == "-warden" ) 
     28       if ( chkarg == "-warden" ) { 
    2929         if ( argc == 4 ){ 
    3030           w.setWardenMode(QString(argv[2]), QString(argv[3])); 
    31          }else{ 
     31         } else { 
    3232           qDebug() << "Usage: -warden <directory> <ip>"; 
    3333           exit(1); 
    3434         } 
     35       } 
    3536    } 
    3637         
  • src-qt4/pc-usermanager/usermanagerback.cpp

    r7374c7b rec5b219  
    3939    homeLocRegExp.setPattern("^(/usr)?/home/?"); 
    4040    usernameRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[_]*)+"); 
    41     passwordRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[!\"£$%^&*()_+=¬#'`@~:?<>|{}\\-.]*)+"); 
     41    passwordRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[!\"$%^&*()_+=#'`@~:?<>|{}\\-.]*)+"); 
    4242    groupnameRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[_]*)+"); 
    4343} 
     
    5252 
    5353    for ( it = userList.begin(); it != userList.end(); ++it ) { 
    54         if ((! it->getDeleted()) && (((it->getUid() >= minId) || (minId == -1)) && (it->getUid() <= maxId) || (maxId == -1) || (it->getUid() < 0))) { 
     54        if ( (! it->getDeleted()) && (((it->getUid() >= minId) || (minId == -1)) && (it->getUid() <= maxId) || (maxId == -1) || (it->getUid() < 0)) ) { 
    5555            result.append(it->getUsername()); 
    5656        } 
Note: See TracChangeset for help on using the changeset viewer.