summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/transactionsortoption.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/transactionsortoption.ui.h')
-rw-r--r--kmymoney2/widgets/transactionsortoption.ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/transactionsortoption.ui.h b/kmymoney2/widgets/transactionsortoption.ui.h
index fe01eb2..636a6a7 100644
--- a/kmymoney2/widgets/transactionsortoption.ui.h
+++ b/kmymoney2/widgets/transactionsortoption.ui.h
@@ -82,8 +82,8 @@ void TransactionSortOption::setSettings(const TQString& settings)
}
// make sure to create EntryOrderSort if missing but required
- if(selectedMap.tqfind(static_cast<int>(KMyMoneyRegister::EntryDateSort)) != selectedMap.end()
- && selectedMap.tqfind(static_cast<int>(KMyMoneyRegister::EntryOrderSort)) == selectedMap.end()) {
+ if(selectedMap.find(static_cast<int>(KMyMoneyRegister::EntryDateSort)) != selectedMap.end()
+ && selectedMap.find(static_cast<int>(KMyMoneyRegister::EntryOrderSort)) == selectedMap.end()) {
int val = dateSign * static_cast<int>(KMyMoneyRegister::EntryOrderSort);
selectedMap[static_cast<int>(KMyMoneyRegister::EntryOrderSort)] = true;
last = addEntry(m_selectedList, last, val);
@@ -97,7 +97,7 @@ void TransactionSortOption::setSettings(const TQString& settings)
if(i == static_cast<int>(KMyMoneyRegister::EntryDateSort))
continue;
// Only add those, that are not present in the list of selected items
- if(selectedMap.tqfind(i) == selectedMap.end()) {
+ if(selectedMap.find(i) == selectedMap.end()) {
int val = i;
if(i == static_cast<int>(KMyMoneyRegister::ValueSort))
val = -val;