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

(cherry picked from commit 4a9ff636bf)
r14.0.x
gregory guy 6 years ago committed by Slávek Banko
parent 0b309fbf83
commit 29482e7e91

@ -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