Ignore:
Timestamp:
May 21, 2013 6:45:41 AM (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
b8276a2
Parents:
2d615ae
Message:

Fix a potential bug removing users homedir at delete time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.