summaryrefslogtreecommitdiffstats
path: root/kate/openheader/plugin_kateopenheader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/openheader/plugin_kateopenheader.cpp')
-rw-r--r--kate/openheader/plugin_kateopenheader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/openheader/plugin_kateopenheader.cpp b/kate/openheader/plugin_kateopenheader.cpp
index 15dbb77..eade8e8 100644
--- a/kate/openheader/plugin_kateopenheader.cpp
+++ b/kate/openheader/plugin_kateopenheader.cpp
@@ -91,9 +91,9 @@ void PluginKateOpenHeader::slotOpenHeader ()
TQStringList headers( TQStringList() << "h" << "H" << "hh" << "hpp" );
TQStringList sources( TQStringList() << "c" << "cpp" << "cc" << "cp" << "cxx" );
- if( sources.tqfind( extension ) != sources.end() ) {
+ if( sources.find( extension ) != sources.end() ) {
tryOpen( url, headers );
- } else if ( headers.tqfind( extension ) != headers.end() ) {
+ } else if ( headers.find( extension ) != headers.end() ) {
tryOpen( url, sources );
}
}