diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 20:44:23 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-08 23:04:28 +0900 |
| commit | 737adcefbfa3dd66bcba31656ba33766c347c529 (patch) | |
| tree | 321d8db88c96ceff680ff7d33b2e2a972e33face /kbabel/commonui/context.cpp | |
| parent | a2e9e963508ed60b588c4e4a3d2c0384ccdca872 (diff) | |
| download | tdesdk-737adcefbfa3dd66bcba31656ba33766c347c529.tar.gz tdesdk-737adcefbfa3dd66bcba31656ba33766c347c529.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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; |
