diff --git a/kfind/kquery.cpp b/kfind/kquery.cpp index 50055ff2..305095b3 100644 --- a/kfind/kquery.cpp +++ b/kfind/kquery.cpp @@ -97,7 +97,6 @@ void KQuery::start() connect(job, SIGNAL(entries(KIO::Job*,KIO::UDSEntryList)), SLOT(slotListEntries(KIO::Job*,KIO::UDSEntryList))); connect(job, SIGNAL(result(KJob*)), SLOT(slotResult(KJob*))); - connect(job, SIGNAL(canceled(KJob*)), SLOT(slotCanceled(KJob*))); } void KQuery::slotResult( KJob * _job ) @@ -109,17 +108,6 @@ void KQuery::slotResult( KJob * _job ) checkEntries(); } -void KQuery::slotCanceled( KJob * _job ) -{ - if (job != _job) return; - job = 0; - - m_fileItems.clear(); - - m_result=KIO::ERR_USER_CANCELED; - checkEntries(); -} - void KQuery::slotListEntries(KIO::Job*, const KIO::UDSEntryList& list) { const KIO::UDSEntryList::ConstIterator end = list.constEnd(); diff --git a/kfind/kquery.h b/kfind/kquery.h index 082879a8..07583e5e 100644 --- a/kfind/kquery.h +++ b/kfind/kquery.h @@ -74,7 +74,6 @@ public Q_SLOTS: /* List of files found using KIO */ void slotListEntries(KIO::Job *, const KIO::UDSEntryList &); void slotResult(KJob *); - void slotCanceled(KJob *); Q_SIGNALS: void foundFileList( QList< QPair >);