According to the doc, TDEIO::NetAccess::del should have two parameters

pull/5/head
gregory guy 6 years ago committed by Gitea
parent cdd90c2c88
commit 4a9ff636bf

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

Loading…
Cancel
Save