diff options
Diffstat (limited to 'kaddressbook/keywidget.cpp')
-rw-r--r-- | kaddressbook/keywidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/keywidget.cpp b/kaddressbook/keywidget.cpp index 3541ddf1d..1b6e77440 100644 --- a/kaddressbook/keywidget.cpp +++ b/kaddressbook/keywidget.cpp @@ -98,7 +98,7 @@ void KeyWidget::addKey() KABC::Key::TypeList::ConstIterator it; for ( it = typeList.begin(); it != typeList.end(); ++it ) { if ( (*it) != KABC::Key::Custom && - !existingKeyTypes.tqcontains( KABC::Key::typeLabel( *it ) ) ) { + !existingKeyTypes.contains( KABC::Key::typeLabel( *it ) ) ) { keyMap.insert( KABC::Key::typeLabel( *it ), *it ); keyTypeNames.append( KABC::Key::typeLabel( *it ) ); } @@ -110,7 +110,7 @@ void KeyWidget::addKey() return; int type = keyMap[ name ]; - if ( !keyTypeNames.tqcontains( name ) ) + if ( !keyTypeNames.contains( name ) ) type = KABC::Key::Custom; KURL url = KFileDialog::getOpenURL(); |