summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-08 09:58:04 +0200
committerGitea <gitea@mirror.git.trinitydesktop.org>2018-08-14 16:30:06 +0000
commit4a9ff636bfab18568bafe4f3d06e91108e078705 (patch)
tree248d50bd0364b38b98ef2a345afc9c23217694f5
parentcdd90c2c88a8569f67e4606a00e5277257928a76 (diff)
downloadtdeadmin-4a9ff636.tar.gz
tdeadmin-4a9ff636.zip
According to the doc, TDEIO::NetAccess::del should have two parameters
-rw-r--r--kuser/kuser.cpp2
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()) );
}