From kde-commits Wed Sep 29 23:30:45 2010 From: Andreas Hartmetz Date: Wed, 29 Sep 2010 23:30:45 +0000 To: kde-commits Subject: KDE/kdelibs/kioslave/http Message-Id: <20100929233045.725EBAC891 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128580309309609 SVN commit 1181081 by ahartmetz: Fix clearing the cache; processSlice() only returns true when it's done. M +1 -1 http_cache_cleaner.cpp --- trunk/KDE/kdelibs/kioslave/http/http_cache_cleaner.cpp #1181080:1181081 @@ -791,7 +791,7 @@ cacheDir.refresh(); qDebug() << "time to refresh the cacheDir QDir:" << t.elapsed(); CacheCleaner cleaner(cacheDir); - while (cleaner.processSlice()) { } + while (!cleaner.processSlice()) { } return 0; }