author | alwin <alwin> | 2004-02-23 12:16:18 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-23 12:16:18 (UTC) |
commit | 2d37d653310da0a9d6e2e2e6c9f5bf092e54cbbb (patch) (side-by-side diff) | |
tree | 35694478a6b36a1e707719262b1642c42f3f7968 | |
parent | 957697a1158c9bfeae88ea35190b821fe002834a (diff) | |
download | opie-2d37d653310da0a9d6e2e2e6c9f5bf092e54cbbb.zip opie-2d37d653310da0a9d6e2e2e6c9f5bf092e54cbbb.tar.gz opie-2d37d653310da0a9d6e2e2e6c9f5bf092e54cbbb.tar.bz2 |
sorry, forgot a stdc++ reference
-rwxr-xr-x | noncore/apps/qashmoney/accountdisplay.cpp | 3 |
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 @@ #include <qdatetime.h> #include <qmessagebox.h> #include <qheader.h> -#include <iostream.h> #include "accountdisplay.h" #include "newaccount.h" #include "transaction.h" #include "transferdialog.h" #include "preferences.h" @@ -267,13 +266,13 @@ void AccountDisplay::getTransferAccounts ( QListViewItem * item ) if ( td->exec() == QDialog::Accepted ) { // set the cleared integer if the checkbox is checked if ( td->clearedcheckbox->isChecked() == TRUE ) cleared = 1; - cout << "Year from transferdialog = " << td->getYear() << endl; + qDebug("Year from transferdialog = %i",td->getYear()); // add the transfer with a new date if its been edited or use the default date if ( td->getDateEdited () == TRUE ) transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), td->getDay(), td->getMonth(), td->getYear(), td->amount->text().toFloat(), cleared ); else transfer->addTransfer ( firstaccountid, account->getParentAccountID ( firstaccountid ), secondaccountid, account->getParentAccountID ( secondaccountid ), defaultday, defaultmonth, defaultyear, td->amount->text().toFloat(), cleared ); |