summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/context.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 20:44:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 23:04:28 +0900
commit737adcefbfa3dd66bcba31656ba33766c347c529 (patch)
tree321d8db88c96ceff680ff7d33b2e2a972e33face /kbabel/commonui/context.cpp
parenta2e9e963508ed60b588c4e4a3d2c0384ccdca872 (diff)
downloadtdesdk-737adcefbfa3dd66bcba31656ba33766c347c529.tar.gz
tdesdk-737adcefbfa3dd66bcba31656ba33766c347c529.zip
Remove use of KDE_IS_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbabel/commonui/context.cpp')
-rw-r--r--kbabel/commonui/context.cpp9
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;