summaryrefslogtreecommitdiffstats
path: root/libkcal/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/tests')
-rw-r--r--libkcal/tests/data/resource_test_config2
-rw-r--r--libkcal/tests/testresource.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/tests/data/resource_test_config b/libkcal/tests/data/resource_test_config
index 67f766fa6..a652f8273 100644
--- a/libkcal/tests/data/resource_test_config
+++ b/libkcal/tests/data/resource_test_config
@@ -1,5 +1,5 @@
[Resource_test_ical]
-CalendarURL=file:$KDEHOME/test.ics
+CalendarURL=file:$TDEHOME/test.ics
Format=ical
ResourceIdentifier=sUiQkXeIro
ResourceIsActive=true
diff --git a/libkcal/tests/testresource.cpp b/libkcal/tests/testresource.cpp
index 682518692..5779c47b5 100644
--- a/libkcal/tests/testresource.cpp
+++ b/libkcal/tests/testresource.cpp
@@ -55,8 +55,8 @@ static const KCmdLineOptions options[] =
int main(int argc, char *argv[])
{
// Use another directory than the real one, just to keep things clean
- // KDEHOME needs to be writable though, for a ksycoca database
- setenv( "KDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
+ // TDEHOME needs to be writable though, for a ksycoca database
+ setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();