diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:58:35 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-22 11:58:35 +0900 |
| commit | ef5d32c49ddf0e3536e3a1a06f8fc84e56a8f42e (patch) | |
| tree | 1b2d4c4e28e640b2a5415510afe926471ebaa759 /kaddressbook/common | |
| parent | aaf564ace324cba8f96be63c505293f3f893bcd8 (diff) | |
| download | tdepim-master.tar.gz tdepim-master.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/common')
| -rw-r--r-- | kaddressbook/common/locationmap.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kaddressbook/common/locationmap.cpp b/kaddressbook/common/locationmap.cpp index 63ed10ac..8ef225cf 100644 --- a/kaddressbook/common/locationmap.cpp +++ b/kaddressbook/common/locationmap.cpp @@ -23,7 +23,6 @@ #include <tdeapplication.h> #include <tdeconfig.h> -#include <tdeversion.h> #include <tdeglobal.h> #include <tdelocale.h> #include <tdemessagebox.h> @@ -78,19 +77,11 @@ TQString LocationMap::createUrl( const TDEABC::Address &addr ) return TQString(); } -#if TDE_VERSION >= 319 return urlTemplate.replace( "%s", addr.street() ). replace( "%r", addr.region() ). replace( "%l", addr.locality() ). replace( "%z", addr.postalCode() ). replace( "%c", addr.countryToISO( addr.country() ) ); -#else - return urlTemplate.replace( "%s", addr.street() ). - replace( "%r", addr.region() ). - replace( "%l", addr.locality() ). - replace( "%z", addr.postalCode() ). - replace( "%c", "" ); -#endif } #include "locationmap.moc" |
