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

List:       kde-commits
Subject:    kdewebdev/kfilereplace
From:       Dirk Mueller <mueller () kde ! org>
Date:       2004-04-04 21:41:58
Message-ID: 20040404214158.3D37B99E0 () office ! kde ! org
[Download RAW message or body]

CVS commit by mueller: 

fix KURL() handling


  M +3 -3      kfilereplaceview.cpp   1.17


--- kdewebdev/kfilereplace/kfilereplaceview.cpp  #1.16:1.17
@@ -465,5 +465,5 @@ void KFileReplaceView::slotResultOpen()
   if (!currentItem().isEmpty())
   {
-    (void) new KRun(currentItem(), 0, true, true);
+    (void) new KRun(KURL(currentItem()), 0, true, true);
     m_lviCurrent = 0L;
   }
@@ -475,5 +475,5 @@ void KFileReplaceView::slotResultOpenWit
   {
     KURL::List kurls;
-    kurls.append(currentItem());
+    kurls.append(KURL(currentItem()));
     KRun::displayOpenWithDialog(kurls);
     m_lviCurrent = 0L;
@@ -487,5 +487,5 @@ void KFileReplaceView::slotResultDirOpen
     QFileInfo fiFile;
     fiFile.setFile(currentItem());
-    (void) new KRun (fiFile.dirPath(), 0, true, true);
+    (void) new KRun (KURL(fiFile.dirPath()), 0, true, true);
     m_lviCurrent = 0L;
   }


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

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