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

List:       kde-commits
Subject:    kdepim/ktnef/gui
From:       Dirk Mueller <mueller () kde ! org>
Date:       2004-02-08 21:01:07
Message-ID: 20040208210107.7B4539672 () office ! kde ! org
[Download RAW message or body]

CVS commit by mueller: 

use right KURL() constructors


  M +2 -2      ktnefmain.cpp   1.14


--- kdepim/ktnef/gui/ktnefmain.cpp  #1.13:1.14
@@ -207,5 +207,5 @@ void KTNEFMain::viewFileAs()
 {
         KURL::List      list;
-        list.append(extractTemp(view_->getSelection()->first()));
+        list.append(KURL::fromPathOrURL( extractTemp(view_->getSelection()->first()) ));
 
   KRun::displayOpenWithDialog(list);
@@ -382,5 +382,5 @@ void KTNEFMain::slotShowMessageText()
         tmpFile.close();
 
-        KRun::runURL( tmpFile.name(), "text/rtf", true );
+        KRun::runURL( KURL::fromPathOrURL( tmpFile.name() ), "text/rtf", true );
 }
 


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

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