[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kio/kio
From:       Stephan Kulow <coolo () kde ! org>
Date:       2005-03-24 13:45:27
Message-ID: 20050324134527.600095B6 () office ! kde ! org
[Download RAW message or body]

CVS commit by coolo: 

if we have only a small set of files to delete, we report every file. Otherwise
do it in chunks. This is still bogus for 400 x 1GB files, but I'm too lazy right
now (and don't want to create such a huge dataset to test ;)


  M +1 -1      job.cpp   1.435


--- kdelibs/kio/kio/job.cpp  #1.434:1.435
@@ -3965,5 +3965,5 @@ void DeleteJob::deleteNextFile()
                 job = 0;
                 m_processedFiles++;
-                if ( m_processedFiles % 300 == 0 ) { // update progress info every \
300 files +                if ( m_processedFiles % 300 == 0 || m_totalFilesDirs < \
300) { // update progress info every 300 files  m_currentURL = *it;
                     slotReport();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic