diff options
Diffstat (limited to 'kbabel/commonui/context.cpp')
| -rw-r--r-- | kbabel/commonui/context.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kbabel/commonui/context.cpp b/kbabel/commonui/context.cpp index 6b1719a7..0ddfea84 100644 --- a/kbabel/commonui/context.cpp +++ b/kbabel/commonui/context.cpp @@ -52,7 +52,6 @@ #include <tdelocale.h> #include <tdemessagebox.h> #include <kurl.h> -#include <tdeversion.h> #include <tdeio/netaccess.h> #include <klibloader.h> @@ -127,20 +126,12 @@ TQValueList<ContextInfo> SourceContext::resolvePath( const TQString& packageDir, // Find the directory name of the PO file, if the PO file is local // ### TODO: find a way to allow remote files too TQString poDir; -#if KDE_IS_VERSION( 3, 5, 0 ) const KURL localUrl( TDEIO::NetAccess::mostLocalURL( urlPoFile, m_parent ) ); if ( localUrl.isLocalFile() ) { const TQFileInfo fi( localUrl.path() ); poDir = fi.dirPath( true ); } -#else - if ( urlPoFile.isLocalFile() ) - { - const TQFileInfo fi( urlPoFile.path() ); - poDir = fi.dirPath( true ); - } -#endif #if 0 kdDebug() << "CONTEXT VARIABLE START" << endl; |
