Changeset 83428f0


Ignore:
Timestamp:
Sep 1, 2013 11:44:16 AM (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
8ac9a7f
Parents:
1db1c9b
Message:

Make sure to pass args to enable_user_pefs using a QProcess, in order to get any special
chars properly

File:
1 edited

Legend:

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

    rf416e9b r83428f0  
    468468                // Are we enabling encryption? 
    469469                if ( userIt->getEnc() ) { 
    470                    system("enable_user_pefs " + userIt->getUsername().toLatin1() + " " + userIt->getClearPassword().toLatin1() ); 
     470                   QProcess::execute("enable_user_pefs", QStringList() << userIt->getUsername() << userIt->getClearPassword() ); 
     471 
    471472                } 
    472473 
Note: See TracChangeset for help on using the changeset viewer.