diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-08 09:58:04 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-08-14 18:32:21 +0200 |
commit | 29482e7e919f2b5d0f26252b896559c978e0df8d (patch) | |
tree | 9752301ea48f8110d6d36a6e2629369433c62be3 /kuser/kuser.cpp | |
parent | 0b309fbf8318ea76fbd11469f16ed208d284df16 (diff) | |
download | tdeadmin-29482e7e919f2b5d0f26252b896559c978e0df8d.tar.gz tdeadmin-29482e7e919f2b5d0f26252b896559c978e0df8d.zip |
According to the doc, TDEIO::NetAccess::del should have two parameters
(cherry picked from commit 4a9ff636bfab18568bafe4f3d06e91108e078705)
Diffstat (limited to 'kuser/kuser.cpp')
-rw-r--r-- | kuser/kuser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kuser/kuser.cpp b/kuser/kuser.cpp index d0d7f4d..ffe24f1 100644 --- a/kuser/kuser.cpp +++ b/kuser/kuser.cpp @@ -748,7 +748,7 @@ int KU::KUser::removeHome() if (!stat(TQFile::encodeName(p_dir), &sb)) if (S_ISDIR(sb.st_mode) && sb.st_uid == p_uid) { - if (!TDEIO::NetAccess::del(KURL::fromPathOrURL(p_dir))) { + if (!TDEIO::NetAccess::del(KURL::fromPathOrURL(p_dir), NULL)) { KMessageBox::error( 0, i18n("Cannot remove home folder %1.\nError: %2") .arg(p_dir).arg(TDEIO::NetAccess::lastErrorString()) ); } |