X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7efea42cea8908608916e018e593109a9b6ae78f..817f3952e2bed820ea3b50dfdfe91ccb99dcb748:/src/applyviewpropsjob.cpp diff --git a/src/applyviewpropsjob.cpp b/src/applyviewpropsjob.cpp index 736e8d24c..4837ff538 100644 --- a/src/applyviewpropsjob.cpp +++ b/src/applyviewpropsjob.cpp @@ -23,9 +23,6 @@ #include "applyviewpropsjob.h" #include "viewproperties.h" -#include -#include - ApplyViewPropsJob::ApplyViewPropsJob(const KUrl& dir, const ViewProperties& viewProps) : KIO::Job(), @@ -56,7 +53,7 @@ void ApplyViewPropsJob::processNextItem() void ApplyViewPropsJob::startNextJob(const KUrl& url) { - KIO::ListJob* listJob = KIO::listRecursive(url, false); + KIO::ListJob* listJob = KIO::listRecursive(url, KIO::HideProgressInfo); connect(listJob, SIGNAL(entries(KIO::Job*, const KIO::UDSEntryList&)), SLOT(slotEntries(KIO::Job*, const KIO::UDSEntryList&))); addSubjob(listJob); @@ -75,7 +72,7 @@ void ApplyViewPropsJob::slotEntries(KIO::Job*, const KIO::UDSEntryList& list) KUrl url(m_dir); url.addPath(name); - assert(m_viewProps != 0); + Q_ASSERT(m_viewProps != 0); ViewProperties props(url); props.setDirProperties(*m_viewProps);