summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewloanwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/knewloanwizard.cpp')
-rw-r--r--kmymoney2/dialogs/knewloanwizard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/dialogs/knewloanwizard.cpp b/kmymoney2/dialogs/knewloanwizard.cpp
index fe39525..ef5c4a4 100644
--- a/kmymoney2/dialogs/knewloanwizard.cpp
+++ b/kmymoney2/dialogs/knewloanwizard.cpp
@@ -111,7 +111,7 @@ KNewLoanWizard::KNewLoanWizard(TQWidget *parent, const char *name ) :
m_interestFrequencyAmountEdit->setValue(1);
m_interestFrequencyUnitEdit->setCurrentItem(static_cast<int>(MyMoneyAccountLoan::changeYearly));
m_paymentFrequencyUnitEdit->setCurrentItem(i18n(MyMoneySchedule::occurenceToString(MyMoneySchedule::OCCUR_MONTHLY)));
- m_firstDueDateEdit->loadDate(TQDate(TQDate::tqcurrentDate().year(),TQDate::tqcurrentDate().month(),30));
+ m_firstDueDateEdit->loadDate(TQDate(TQDate::currentDate().year(),TQDate::currentDate().month(),30));
m_paymentAccountEdit->removeButtons();
m_assetAccountEdit->removeButtons();
@@ -557,7 +557,7 @@ void KNewLoanWizard::next()
if(m_assetAccountPage)
setAppropriate(m_assetAccountPage, true);
} else {
- TQDate nextPayment(TQDate::tqcurrentDate().year(), 1, m_firstDueDateEdit->date().day());
+ TQDate nextPayment(TQDate::currentDate().year(), 1, m_firstDueDateEdit->date().day());
m_nextDueDateEdit->setDate(nextPayment);
if(m_assetAccountPage)
setAppropriate(m_assetAccountPage, false);