summaryrefslogtreecommitdiffstats
path: root/kooka/imgnamecombo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kooka/imgnamecombo.cpp')
-rw-r--r--kooka/imgnamecombo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kooka/imgnamecombo.cpp b/kooka/imgnamecombo.cpp
index 94faa083..5205f1b1 100644
--- a/kooka/imgnamecombo.cpp
+++ b/kooka/imgnamecombo.cpp
@@ -56,7 +56,7 @@ void ImageNameCombo::slotPathRemove( KFileTreeBranch *branch, const TQString& re
kdDebug(28000) << "ImageNameCombo: Removing " << path << endl;
TQString select = currentText();
- if( items.tqcontains( path ))
+ if( items.contains( path ))
{
kdDebug(28000) << "ImageNameCombo: Item exists-> deleting" << endl;
items.remove( path );
@@ -74,7 +74,7 @@ void ImageNameCombo::rewriteList( KFileTreeBranch *branch, const TQString& selTe
insertItem( branch->pixmap(), *it );
}
- int index = items.tqfindIndex( selText );
+ int index = items.findIndex( selText );
setCurrentItem( index );
}