summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/readandwrite.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-03-24 21:35:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-03-24 21:35:42 +0900
commitce47e20ed3f172bb04a2d4055a9326fec1c879b0 (patch)
tree5906777828b9f2ed01d7516c05bee7687d92b59f /libkcal/tests/readandwrite.cpp
parent2877efbe303c4d41b5867e70f0fa464384399afc (diff)
downloadtdepim-ce47e20ed3f172bb04a2d4055a9326fec1c879b0.tar.gz
tdepim-ce47e20ed3f172bb04a2d4055a9326fec1c879b0.zip
Fixed building of libkcal tests. Some of the tests still fails when
executed. This relates to bug 2719. Special thanks to Emanoil Kotsev <deloptes@gmail.com> for providing an inital patch for the same bug, from which I reused a small section of code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkcal/tests/readandwrite.cpp')
-rw-r--r--libkcal/tests/readandwrite.cpp5
1 files changed, 1 insertions, 4 deletions
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 <tdeaboutdata.h>
@@ -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 ) );