Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure to pass args to enable_user_pefs using a QProcess, in order…

… to get any special

chars properly
  • Loading branch information...
commit 83428f009548de434c6848f888f824cc94b6d2a0 1 parent 1db1c9b
@kmoore134 kmoore134 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src-qt4/pc-usermanager/usermanagerback.cpp
View
3  src-qt4/pc-usermanager/usermanagerback.cpp
@@ -467,7 +467,8 @@ bool UserManagerBackend::commit()
// Are we enabling encryption?
if ( userIt->getEnc() ) {
- system("enable_user_pefs " + userIt->getUsername().toLatin1() + " " + userIt->getClearPassword().toLatin1() );
+ QProcess::execute("enable_user_pefs", QStringList() << userIt->getUsername() << userIt->getClearPassword() );
+
}
break;
Please sign in to comment.
Something went wrong with that request. Please try again.