summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/transfer.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/qashmoney/transfer.cpp') (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/transfer.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/noncore/apps/qashmoney/transfer.cpp b/noncore/apps/qashmoney/transfer.cpp
index 77cbb4e..568d584 100755
--- a/noncore/apps/qashmoney/transfer.cpp
+++ b/noncore/apps/qashmoney/transfer.cpp
@@ -67,3 +67,3 @@ int Transfer::getNumberOfTransfers ( int accountid )
-void Transfer::displayTransfers ( QListView *listview, int accountid, bool children )
+void Transfer::displayTransfers ( QListView *listview, int accountid, bool children, QDate displaydate )
{
@@ -102,2 +102,3 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
QString date = preferences->getDate ( year, month, day );
+ QDate testdate ( year, month, day );
@@ -114,2 +115,4 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
+ if ( testdate >= displaydate || showcleared == 0 )
+ {
// display this transfer
@@ -129,3 +132,3 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
}
-
+ }
counter = counter + 7;
@@ -165,2 +168,3 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
QString date = preferences->getDate ( year, month, day );
+ QDate testdate ( year, month, day );
@@ -178,2 +182,4 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
+ if ( testdate >= displaydate || showcleared == 0 )
+ {
// display this transfer
@@ -193,2 +199,3 @@ void Transfer::displayTransfers ( QListView *listview, int accountid, bool child
}
+ }