diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-09 13:32:36 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-09 13:32:36 +0900 |
| commit | aefa0facadf7ac14737e24668e7f63efd0d3084d (patch) | |
| tree | 42006460817079568894e45aee608b18baf60b9a | |
| parent | 4f9ba39b90a0e4822cccafae3be7052d302c031f (diff) | |
| download | libkexiv2-aefa0facadf7ac14737e24668e7f63efd0d3084d.tar.gz libkexiv2-aefa0facadf7ac14737e24668e7f63efd0d3084d.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
| -rw-r--r-- | libkexiv2/libkexiv2/kexiv2private.cpp | 6 | ||||
| -rw-r--r-- | libkexiv2/libkexiv2/kexiv2private.h | 1 |
2 files changed, 0 insertions, 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 <tdetempfile.h> #include <kstringhandler.h> -#include <tdeversion.h> // Exiv2 includes. |
