From aefa0facadf7ac14737e24668e7f63efd0d3084d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 9 Mar 2026 13:32:36 +0900 Subject: Remove use of KDE_IS_VERSION Signed-off-by: Michele Calgaro --- libkexiv2/libkexiv2/kexiv2private.cpp | 6 ------ libkexiv2/libkexiv2/kexiv2private.h | 1 - 2 files changed, 7 deletions(-) diff --git a/libkexiv2/libkexiv2/kexiv2private.cpp b/libkexiv2/libkexiv2/kexiv2private.cpp index 6377bb7..52e0eb5 100644 --- a/libkexiv2/libkexiv2/kexiv2private.cpp +++ b/libkexiv2/libkexiv2/kexiv2private.cpp @@ -172,16 +172,10 @@ TQString KExiv2Priv::detectEncodingAndDecode(const std::string &value) if (value.empty()) return TQString(); -#if KDE_IS_VERSION(3,2,0) if (KStringHandler::isUtf8(value.c_str())) { return TQString::fromUtf8(value.c_str()); } -#else - // anyone who is still running KDE 3.0 or 3.1 is missing so many features - // that he will have to accept this missing feature. - return TQString::fromUtf8(value.c_str()); -#endif // Utf8 has a pretty unique byte pattern. // Thats not true for ASCII, it is not possible diff --git a/libkexiv2/libkexiv2/kexiv2private.h b/libkexiv2/libkexiv2/kexiv2private.h index 906598b..8f98736 100644 --- a/libkexiv2/libkexiv2/kexiv2private.h +++ b/libkexiv2/libkexiv2/kexiv2private.h @@ -50,7 +50,6 @@ #include #include -#include // Exiv2 includes. -- cgit v1.2.3