diff options
Diffstat (limited to 'kbabel/common')
| -rw-r--r-- | kbabel/common/kbmailer.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kbabel/common/kbmailer.cpp b/kbabel/common/kbmailer.cpp index 471660f0..585d5a5b 100644 --- a/kbabel/common/kbmailer.cpp +++ b/kbabel/common/kbmailer.cpp @@ -79,11 +79,7 @@ void KBabelMailer::sendOneFile(const TQString& fileName) void KBabelMailer::sendOneFile( const KURL& url) { -#if KDE_IS_VERSION( 3, 5, 0) const KURL localUrl( TDEIO::NetAccess::mostLocalURL( url, m_parent ) ); -#else - const KURL localUrl( url ); -#endif if ( localUrl.isLocalFile() ) { sendOneFile( localUrl.path() ); @@ -182,12 +178,8 @@ TQString KBabelMailer::buildArchive(TQStringList fileList, TQString archiveName, // add files to this archive TQStringList::const_iterator it; for (it = fileList.constBegin(); it != fileList.constEnd(); ++it) { -#if KDE_IS_VERSION( 3, 5, 0 ) // Try to get a local URL instead of a remote one const KURL url( TDEIO::NetAccess::mostLocalURL( KURL::fromPathOrURL( *it ), m_parent ) ); -#else - const KURL url( KURL::fromPathOrURL( *it ) ); -#endif TQString poTempName; if ( !TDEIO::NetAccess::download( url, poTempName, m_parent ) ) { KMessageBox::error( m_parent, i18n("Error while trying to read file %1.").arg( url.prettyURL() ) ); |
