Remove use of KDE_IS_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 5 days ago
parent 4f9ba39b90
commit aefa0facad
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

@ -50,7 +50,6 @@
#include <tdetempfile.h>
#include <kstringhandler.h>
#include <tdeversion.h>
// Exiv2 includes.

Loading…
Cancel
Save