summaryrefslogtreecommitdiffstats
path: root/kmail/foldersetselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/foldersetselector.cpp')
-rw-r--r--kmail/foldersetselector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/foldersetselector.cpp b/kmail/foldersetselector.cpp
index 45748b2f6..8ae2618ec 100644
--- a/kmail/foldersetselector.cpp
+++ b/kmail/foldersetselector.cpp
@@ -76,7 +76,7 @@ void FolderSetSelector::setSelectedFolders(const TQValueList< int > & folderIds)
while ( it.current() ) {
SimpleFolderTreeItem<TQCheckListItem> *item = dynamic_cast<SimpleFolderTreeItem<TQCheckListItem>*>( it.current() );
if ( item && item->folder() ) {
- if ( folderIds.tqcontains( item->folder()->id() ) )
+ if ( folderIds.contains( item->folder()->id() ) )
item->setOn( true );
else
item->setOn( false );