summaryrefslogtreecommitdiffstats
path: root/kioslave/mac/kio_mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/mac/kio_mac.cpp')
-rw-r--r--kioslave/mac/kio_mac.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/mac/kio_mac.cpp b/kioslave/mac/kio_mac.cpp
index e64d22d65..245af6fcf 100644
--- a/kioslave/mac/kio_mac.cpp
+++ b/kioslave/mac/kio_mac.cpp
@@ -455,12 +455,12 @@ int MacProtocol::makeTime(TQString mday, TQString mon, TQString third) {
// otherwise it only prints the year
TQRegExp hourMin("(..):(..)");
if (hourMin.exactMatch(third)) {
- TQDate currentDate(TQDate::currentDate());
+ TQDate tqcurrentDate(TQDate::currentDate());
- if (month > currentDate.month()) {
- year = currentDate.year() - 1;
+ if (month > tqcurrentDate.month()) {
+ year = tqcurrentDate.year() - 1;
} else {
- year = currentDate.year();
+ year = tqcurrentDate.year();
}
TQString h(hourMin.cap(1));
TQString m(hourMin.cap(2));