From 4a9ff636bfab18568bafe4f3d06e91108e078705 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Wed, 8 Aug 2018 09:58:04 +0200 Subject: According to the doc, TDEIO::NetAccess::del should have two parameters --- kuser/kuser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kuser') 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()) ); } -- cgit v1.2.1