Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/views/kcategoriesview.cpp
Context not available. | |||||
332 | and replace that with categoryId. | 332 | and replace that with categoryId. | ||
---|---|---|---|---|---|
333 | */ | 333 | */ | ||
334 | // get the list of all transactions that reference the old account | 334 | // get the list of all transactions that reference the old account | ||
335 | MyMoneyTransactionFilter filter(d->m_currentCategory.id()); | 335 | MyMoneyTransactionFilter filter; | ||
336 | filter.clear(); // to get rid of default origin filter | ||||
337 | filter.setConsiderCategory(false); | ||||
336 | filter.setReportAllSplits(false); | 338 | filter.setReportAllSplits(false); | ||
339 | filter.addAccount(d->m_currentCategory.id()); | ||||
340 | | ||||
337 | QList<MyMoneyTransaction> tlist; | 341 | QList<MyMoneyTransaction> tlist; | ||
338 | QList<MyMoneyTransaction>::iterator it_t; | 342 | QList<MyMoneyTransaction>::iterator it_t; | ||
339 | file->transactionList(tlist, filter); | 343 | file->transactionList(tlist, filter); | ||
Context not available. |