summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/testrecurrencetype.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/testrecurrencetype.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/testrecurrencetype.cpp')
-rw-r--r--libkcal/tests/testrecurrencetype.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libkcal/tests/testrecurrencetype.cpp b/libkcal/tests/testrecurrencetype.cpp
index 5a77de866..c8eaaa06a 100644
--- a/libkcal/tests/testrecurrencetype.cpp
+++ b/libkcal/tests/testrecurrencetype.cpp
@@ -23,7 +23,7 @@
#include "calendarlocal.h"
extern "C" {
-#include "icaltimezone.h"
+#include "libical/icaltimezone.h"
}
#include <tdeaboutdata.h>
@@ -61,9 +61,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 ) );
kdDebug(5800) << "Input file: " << input << endl;