diff options
Diffstat (limited to 'kuser/mainView.cpp')
-rw-r--r-- | kuser/mainView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kuser/mainView.cpp b/kuser/mainView.cpp index 82b5cb3..344ee3a 100644 --- a/kuser/mainView.cpp +++ b/kuser/mainView.cpp @@ -217,15 +217,15 @@ void mainView::useradd() sid.setDOM( kug->getUsers().getDOMSID() ); sid.setRID( rid ); tk->setSID( sid ); - tk->setProfilePath( kug->kcfg()->samprofilepath().tqreplace( "%U",name ) ); - tk->setHomePath( kug->kcfg()->samhomepath().tqreplace( "%U", name ) ); + tk->setProfilePath( kug->kcfg()->samprofilepath().replace( "%U",name ) ); + tk->setHomePath( kug->kcfg()->samhomepath().replace( "%U", name ) ); tk->setHomeDrive( kug->kcfg()->samhomedrive() ); tk->setLoginScript( kug->kcfg()->samloginscript() ); tk->setDomain( kug->kcfg()->samdomain() ); } tk->setShell( kug->kcfg()->shell() ); - tk->setHomeDir( kug->kcfg()->homepath().tqreplace( "%U", name ) ); + tk->setHomeDir( kug->kcfg()->homepath().replace( "%U", name ) ); if ( kug->getUsers().getCaps() & KU::KUsers::Cap_Shadow || samba ) { tk->setLastChange( now() ); } |