summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyreport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyreport.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyreport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneyreport.cpp b/kmymoney2/mymoney/mymoneyreport.cpp
index 432a352..2904ed5 100644
--- a/kmymoney2/mymoney/mymoneyreport.cpp
+++ b/kmymoney2/mymoney/mymoneyreport.cpp
@@ -201,8 +201,8 @@ void MyMoneyReport::validDateRange ( TQDate& _db, TQDate& _de )
tmpBegin = list.front().postDate();
tmpEnd = list.back().postDate();
} else {
- tmpBegin = TQDate ( TQDate::currentDate().year(), 1, 1 ); // the first date in the file
- tmpEnd = TQDate ( TQDate::currentDate().year(), 12, 31 );// the last date in the file
+ tmpBegin = TQDate ( TQDate::tqcurrentDate().year(), 1, 1 ); // the first date in the file
+ tmpEnd = TQDate ( TQDate::tqcurrentDate().year(), 12, 31 );// the last date in the file
}
if ( !_db.isValid() )
_db = tmpBegin;