summaryrefslogtreecommitdiffstats
path: root/kaddressbook/features/distributionlistwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/features/distributionlistwidget.cpp')
-rw-r--r--kaddressbook/features/distributionlistwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp
index 7ce25beb7..fc8af3abd 100644
--- a/kaddressbook/features/distributionlistwidget.cpp
+++ b/kaddressbook/features/distributionlistwidget.cpp
@@ -255,9 +255,9 @@ void DistributionListWidget::selectionContactViewChanged()
bool DistributionListWidget::alreadyExists( const TQString& distrListName ) const
{
#ifdef KDEPIM_NEW_DISTRLISTS
- return core()->distributionListNames().tqcontains( distrListName );
+ return core()->distributionListNames().contains( distrListName );
#else
- return mManager->listNames().tqcontains( distrListName );
+ return mManager->listNames().contains( distrListName );
#endif
}