summaryrefslogtreecommitdiffstats
path: root/kuser/kuser.cpp
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-08 09:58:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-14 18:32:21 +0200
commit29482e7e919f2b5d0f26252b896559c978e0df8d (patch)
tree9752301ea48f8110d6d36a6e2629369433c62be3 /kuser/kuser.cpp
parent0b309fbf8318ea76fbd11469f16ed208d284df16 (diff)
downloadtdeadmin-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.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()) );
}