summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/ktimezonestest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tests/ktimezonestest.cpp')
-rw-r--r--tdecore/tests/ktimezonestest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tests/ktimezonestest.cpp b/tdecore/tests/ktimezonestest.cpp
index 650cc0512..69ea7c8a1 100644
--- a/tdecore/tests/ktimezonestest.cpp
+++ b/tdecore/tests/ktimezonestest.cpp
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
// Find the current offset of the UTC timezone.
timezone = timezones.zone("UTC");
- printf( "UTC timezone offset should be 0: %d\n", timezone->offset(TQDateTime::currentDateTime()) );
+ printf( "UTC timezone offset should be 0: %d\n", timezone->offset(TQDateTime::tqcurrentDateTime()) );
// Find some offsets for Europe/London.
char *london = "Europe/London";