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

List:       kde-commits
Subject:    kdebase/libkonq
From:       David Faure <faure () kde ! org>
Date:       2005-01-23 22:33:06
Message-ID: 20050123223306.5D8551B8FC () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Use pathOrURL to show nice paths in the "really want to move to trash" dialog, \
instead of file:/// urls.


  M +3 -3      konq_operations.cc   1.159


--- kdebase/libkonq/konq_operations.cc  #1.158:1.159
@@ -250,5 +250,5 @@ bool KonqOperations::askDeleteConfirmati
       QStringList prettyList;
       for ( ; it != selectedURLs.end(); ++it )
-        prettyList.append( (*it).prettyURL() );
+        prettyList.append( (*it).pathOrURL() );
 
       int result;
@@ -644,5 +644,5 @@ void KonqOperations::doFileCopy()
 void KonqOperations::rename( QWidget * parent, const KURL & oldurl, const KURL& \
newurl )  {
-    kdDebug(1203) << "KonqOperations::rename oldurl=" << oldurl.prettyURL() << " \
newurl=" << newurl.prettyURL() << endl; +    kdDebug(1203) << "KonqOperations::rename \
oldurl=" << oldurl << " newurl=" << newurl << endl;  if ( oldurl == newurl )
         return;
@@ -742,5 +742,5 @@ void KonqOperations::rename( QWidget * p
     KURL newurl( oldurl );
     newurl.setPath( oldurl.directory(false, true) + name );
-    kdDebug(1203) << "KonqOperations::rename("<<name<<") called. newurl=" << \
newurl.prettyURL() << endl; +    kdDebug(1203) << "KonqOperations::rename("<<name<<") \
called. newurl=" << newurl << endl;  rename( parent, oldurl, newurl );
 }


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

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