summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/accountdisplay.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/apps/qashmoney/accountdisplay.cpp b/noncore/apps/qashmoney/accountdisplay.cpp
index 64f4ea8..d0ba82a 100755
--- a/noncore/apps/qashmoney/accountdisplay.cpp
+++ b/noncore/apps/qashmoney/accountdisplay.cpp
@@ -1,10 +1,9 @@
1#include <qdatetime.h> 1#include <qdatetime.h>
2#include <qmessagebox.h> 2#include <qmessagebox.h>
3#include <qheader.h> 3#include <qheader.h>
4#include <iostream.h>
5 4
6#include "accountdisplay.h" 5#include "accountdisplay.h"
7#include "newaccount.h" 6#include "newaccount.h"
8#include "transaction.h" 7#include "transaction.h"
9#include "transferdialog.h" 8#include "transferdialog.h"
10#include "preferences.h" 9#include "preferences.h"
@@ -267,13 +266,13 @@ void AccountDisplay::getTransferAccounts ( QListViewItem * item )
267 266
268 if ( td->exec() == QDialog::Accepted ) 267 if ( td->exec() == QDialog::Accepted )
269 { 268 {
270 // set the cleared integer if the checkbox is checked 269 // set the cleared integer if the checkbox is checked
271 if ( td->clearedcheckbox->isChecked() == TRUE ) 270 if ( td->clearedcheckbox->isChecked() == TRUE )
272 cleared = 1; 271 cleared = 1;
273 cout << "Year from transferdialog = " << td->getYear() << endl; 272 qDebug("Year from transferdialog = %i",td->getYear());
274 // add the transfer with a new date if its been edited or use the default date 273 // add the transfer with a new date if its been edited or use the default date
275 if ( td->getDateEdited () == TRUE ) 274 if ( td->getDateEdited () == TRUE )
276 transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), td->getDay(), td->getMonth(), td->getYear(), td->amount->text().toFloat(), cleared ); 275 transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), td->getDay(), td->getMonth(), td->getYear(), td->amount->text().toFloat(), cleared );
277 else 276 else
278 transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), defaultday, defaultmonth, defaultyear, td->amount->text().toFloat(), cleared ); 277 transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), defaultday, defaultmonth, defaultyear, td->amount->text().toFloat(), cleared );
279 278