From kde-commits Sun Feb 08 21:01:07 2004 From: Dirk Mueller Date: Sun, 08 Feb 2004 21:01:07 +0000 To: kde-commits Subject: kdepim/ktnef/gui Message-Id: <20040208210107.7B4539672 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=107627407408352 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 ); }