[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kio/kio
From: David Faure <faure () kde ! org>
Date: 2008-09-29 12:40:46
Message-ID: 1222692046.813997.2280.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 865916 by dfaure:
revert hacks, proper fix coming up
M +3 -4 deletejob.cpp
--- trunk/KDE/kdelibs/kio/kio/deletejob.cpp #865915:865916
@@ -26,7 +26,6 @@
#include "kdirwatch.h"
#include "kprotocolmanager.h"
#include "jobuidelegate.h"
-#include "netaccess.h"
#include <kdirnotify.h>
#include <kuiserverjobtracker.h>
@@ -393,11 +392,11 @@
state = DELETEJOB_STATE_LISTING;
ListJob *newjob = KIO::listRecursive(url, KIO::HideProgressInfo);
newjob->setUnrestricted(true); // No KIOSK restrictions
+ Scheduler::scheduleJob(newjob);
QObject::connect(newjob, SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)),
q, SLOT(slotEntries(KIO::Job*,const KIO::UDSEntryList&)));
- // Force the list job to happen _right now_ and block the rest of stat jobs. This will
- // make this code to have a defined state. Otherwise we can hit bad castings.
- NetAccess::synchronousRun(newjob, 0);
+ q->addSubjob(newjob);
+ // Note that this listing job will happen in parallel with other stat jobs.
}
} else {
if (isLink) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic