Changeset 5e274ef


Ignore:
Timestamp:
08/27/13 09:44:10 (16 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, releng/10.1
Children:
ae4e853, 4f9718b
Parents:
b84dfe9
Message:

Switch from system() to QProcess::execute() for enable_user_pefs to do more advanced argument pass-through

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-firstbootgui/firstboot.cpp

    rb84dfe9 r5e274ef  
    456456  // Encrypt the users home-directory? 
    457457  if ( checkEnc->isChecked() ) 
    458     system("enable_user_pefs '" + lineUsername->text().toLatin1() + "' '" + linePW->text().toLatin1() + "'"); 
     458    QProcess::execute("enable_user_pefs", QStringList() << lineUsername->text() << linePW->text()); 
    459459 
    460460  // Do we need to change the system hostname? 
Note: See TracChangeset for help on using the changeset viewer.