Changeset 14f87ef


Ignore:
Timestamp:
05/21/13 06:45:41 (17 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
b8276a2
Parents:
2d615ae
Message:

Fix a potential bug removing users homedir at delete time

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

Legend:

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

    r1620346 r14f87ef  
    215215                                       QMessageBox::Yes | QMessageBox::No, 
    216216                                       QMessageBox::No); 
    217     if(answer == QMessageBox::Yes) user->setDeleteHome(true); 
     217    if(answer == QMessageBox::Yes)  
     218      user->setDeleteHome(true); 
     219    else 
     220      user->setDeleteHome(false); 
    218221    back->deleteUser(username); 
    219222} 
  • src-qt4/pc-usermanager/simpledlgcode.cpp

    r1620346 r14f87ef  
    174174                                       QMessageBox::Yes | QMessageBox::No, 
    175175                                       QMessageBox::No); 
    176     if(answer == QMessageBox::Yes) user->setDeleteHome(true); 
     176    if(answer == QMessageBox::Yes)  
     177      user->setDeleteHome(true); 
     178    else 
     179      user->setDeleteHome(false); 
    177180    back->deleteUser(username); 
    178181} 
Note: See TracChangeset for help on using the changeset viewer.