summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/komposer/core/core.cpp')
-rw-r--r--libkdepim/komposer/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/komposer/core/core.cpp b/libkdepim/komposer/core/core.cpp
index bffae60ed..3618b88ee 100644
--- a/libkdepim/komposer/core/core.cpp
+++ b/libkdepim/komposer/core/core.cpp
@@ -158,7 +158,7 @@ Core::selectEditor( Komposer::Editor *editor )
TQPtrList<KParts::Part> *partList = const_cast<TQPtrList<KParts::Part>*>(
m_partManager->parts() );
- if ( partList->tqfind( part ) == -1 )
+ if ( partList->find( part ) == -1 )
addPart( part );
m_partManager->setActivePart( part );