From: <vo...@us...> - 2013-10-16 10:24:39
|
Revision: 4876 http://sourceforge.net/p/moneymanagerex/code/4876 Author: vomikan Date: 2013-10-16 10:24:36 +0000 (Wed, 16 Oct 2013) Log Message: ----------- cleanup Modified Paths: -------------- trunk/src/mmhomepagepanel.cpp Modified: trunk/src/mmhomepagepanel.cpp =================================================================== --- trunk/src/mmhomepagepanel.cpp 2013-10-16 09:52:23 UTC (rev 4875) +++ trunk/src/mmhomepagepanel.cpp 2013-10-16 10:24:36 UTC (rev 4876) @@ -421,7 +421,7 @@ //FIXME: Model_Checking::Data_Set transactions = Model_Checking::instance().all(); int countFollowUp = 0, total_transactions = transactions.size(); - for (const auto &trx : Model_Checking::instance().all()) {if (trx.STATUS == "Follow up") countFollowUp++;} + for (const auto &trx : transactions) {if (Model_Checking::status(trx) == Model_Checking::FOLLOWUP) countFollowUp++;} hb.startTable("100%"); hb.addTableHeaderRow(_("Transaction Statistics"), 2); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |