summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/testrecurrence.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-03-24 21:35:42 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-04-01 18:36:29 +0200
commit77ffd0e710a5ea62b3c36e37cf82fd66df5b6512 (patch)
tree8ca132ac10b901c26da56102c75c5df3edd52ab8 /libkcal/tests/testrecurrence.cpp
parent53ce57b0434d4fd42b3128a8f9fb4076e406ce01 (diff)
downloadtdepim-77ffd0e710a5ea62b3c36e37cf82fd66df5b6512.tar.gz
tdepim-77ffd0e710a5ea62b3c36e37cf82fd66df5b6512.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> (cherry picked from commit ce47e20ed3f172bb04a2d4055a9326fec1c879b0)
Diffstat (limited to 'libkcal/tests/testrecurrence.cpp')
-rw-r--r--libkcal/tests/testrecurrence.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libkcal/tests/testrecurrence.cpp b/libkcal/tests/testrecurrence.cpp
index 5a77de866..c8eaaa06a 100644
--- a/libkcal/tests/testrecurrence.cpp
+++ b/libkcal/tests/testrecurrence.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;