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

List:       kde-commits
Subject:    kdelibs/kio/kio
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2002-12-09 11:56:58
[Download RAW message or body]

CVS commit by hausmann: 

- three additional copyingDone signal emissions, to compensate the
  m_overwriteList optimization for directories. needed for proper undo
  recording


  M +3 -0      job.cpp   1.332


--- kdelibs/kio/kio/job.cpp  #1.331:1.332
@@ -2138,4 +2138,5 @@ void CopyJob::slotResultCreatingDirs( Jo
                 dirs.remove( it ); // Move on to next dir
             } else if ( m_bOverwriteAll ) { // overwrite all => just skip
+                emit copyingDone( this, ( *it ).uSource, ( *it ).uDest, true /* \
directory */, false /* renamed */ );  dirs.remove( it ); // Move on to next dir
             } else
@@ -2268,4 +2269,5 @@ void CopyJob::slotResultConflictCreating
         case R_OVERWRITE:
             m_overwriteList.append( existingDest );
+            emit copyingDone( this, ( *it ).uSource, ( *it ).uDest, true /* \
directory */, false /* renamed */ );  // Move on to next dir
             dirs.remove( it );
@@ -2273,4 +2275,5 @@ void CopyJob::slotResultConflictCreating
         case R_OVERWRITE_ALL:
             m_bOverwriteAll = true;
+            emit copyingDone( this, ( *it ).uSource, ( *it ).uDest, true /* \
directory */, false /* renamed */ );  // Move on to next dir
             dirs.remove( it );


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

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