summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/settings/ksettingsgpg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/settings/ksettingsgpg.cpp')
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
index f34c2d8..b6cca2e 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
@@ -151,11 +151,11 @@ void KSettingsGpg::show(void)
if(fields[0] != RECOVER_KEY_ID_FULL) {
// replace parenthesis in name field with brackets
TQString name = fields[1];
- name.tqreplace('(', "[");
- name.tqreplace(')', "]");
+ name.replace('(', "[");
+ name.replace(')', "]");
name = TQString("%1 (0x%2)").tqarg(name).tqarg(fields[0]);
m_masterKeyCombo->insertItem(name);
- if(name.tqcontains(masterKey))
+ if(name.contains(masterKey))
m_masterKeyCombo->setCurrentItem(name);
}
}