From ce47e20ed3f172bb04a2d4055a9326fec1c879b0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 24 Mar 2019 21:35:42 +0900 Subject: Fixed building of libkcal tests. Some of the tests still fails when executed. This relates to bug 2719. Special thanks to Emanoil Kotsev for providing an inital patch for the same bug, from which I reused a small section of code. Signed-off-by: Michele Calgaro --- libkcal/tests/readandwrite.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libkcal/tests/readandwrite.cpp') diff --git a/libkcal/tests/readandwrite.cpp b/libkcal/tests/readandwrite.cpp index 5f6c3488d..23056d6e7 100644 --- a/libkcal/tests/readandwrite.cpp +++ b/libkcal/tests/readandwrite.cpp @@ -22,7 +22,7 @@ #include "calendarlocal.h" extern "C" { -#include "icaltimezone.h" +#include "libical/icaltimezone.h" } #include @@ -58,9 +58,6 @@ int main( int argc, char **argv ) args->usage( "Wrong number of arguments." ); } - // use zoneinfo data from source dir - set_zone_directory( KDETOPSRCDIR "/libkcal/libical/zoneinfo" ); - TQString input = TQFile::decodeName( args->arg( 0 ) ); TQString output = TQFile::decodeName( args->arg( 1 ) ); -- cgit v1.2.1