Branch: master

4a9ff636 2018-08-14 11:30:06 gregory guy
According to the doc, TDEIO::NetAccess::del should have two parameters
M kuser/kuser.cpp

kuser/kuser.cpp

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 @@
 
   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()) );
       }