summaryrefslogtreecommitdiffstats
path: root/src/kchmsourcefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsourcefactory.cpp')
-rw-r--r--src/kchmsourcefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kchmsourcefactory.cpp b/src/kchmsourcefactory.cpp
index 896a447..4b6e0a0 100644
--- a/src/kchmsourcefactory.cpp
+++ b/src/kchmsourcefactory.cpp
@@ -49,7 +49,7 @@ const TQMimeSource * KCHMSourceFactory::data( const TQString & abs_name ) const
if ( !chm )
return 0;
- int pos = path.tqfind ('#');
+ int pos = path.find ('#');
if ( pos != -1 )
path = path.left (pos);