summaryrefslogtreecommitdiffstats
path: root/kioslave/audiocd/plugins/audiocdencoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/audiocd/plugins/audiocdencoder.cpp')
-rw-r--r--kioslave/audiocd/plugins/audiocdencoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/audiocd/plugins/audiocdencoder.cpp b/kioslave/audiocd/plugins/audiocdencoder.cpp
index 200534a4..6dfbec18 100644
--- a/kioslave/audiocd/plugins/audiocdencoder.cpp
+++ b/kioslave/audiocd/plugins/audiocdencoder.cpp
@@ -78,12 +78,12 @@ void AudioCDEncoder::findAllPlugins(KIO::SlaveBase *slave, TQPtrList<AudioCDEnco
{
TQString fileName = *it2;
kdDebug() << fileName << endl;
- if (foundEncoders.tqcontains(fileName)) {
+ if (foundEncoders.contains(fileName)) {
kdDebug(7117) << "Warning, encoder has been found twice!" << endl;
continue;
}
foundEncoders.append(fileName);
- fileName = fileName.mid(0, fileName.tqfind('.'));
+ fileName = fileName.mid(0, fileName.find('.'));
void *function = loadPlugin(fileName);
if(function){
void (*functionPointer)(KIO::SlaveBase *, TQPtrList<AudioCDEncoder> &) = (void (*)(KIO::SlaveBase *slave, TQPtrList<AudioCDEncoder> &encoders)) function;