[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:       2002-10-29 12:37:34
[Download RAW message or body]

CVS commit by coolo: 

as discussed with David. Once for Copy and once for Delete:
+   // if the file system doesn't support deleting, we do not even stat
+   if (m_mode == Move && !KProtocolInfo::supportsDeleting(m_currentSrcURL)) {
+        KMessageBox::information( 0, buildErrorString(ERR_CANNOT_DELETE, m_currentSrcURL.prettyURL()));
+        ++m_currentStatSrc;
+        statNextSrc(); // we could use a loop instead of a recursive call :)
+        return;
+   }


  M +15 -0     job.cpp   1.330

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

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