diff options
Diffstat (limited to 'amarok/src/engine/xine/xine-engine.cpp')
-rw-r--r-- | amarok/src/engine/xine/xine-engine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amarok/src/engine/xine/xine-engine.cpp b/amarok/src/engine/xine/xine-engine.cpp index 341835c2..815f6370 100644 --- a/amarok/src/engine/xine/xine-engine.cpp +++ b/amarok/src/engine/xine/xine-engine.cpp @@ -654,7 +654,7 @@ XineEngine::canDecode( const KURL &url ) const list.remove("ssa"); //HACK we also check for m4a because xine plays them but //for some reason doesn't return the extension - if(!list.tqcontains("m4a")) + if(!list.contains("m4a")) list << "m4a"; } @@ -669,9 +669,9 @@ XineEngine::canDecode( const KURL &url ) const if (path.endsWith( ".part" )) path = path.left( path.length() - 5 ); - const TQString ext = path.mid( path.tqfindRev( '.' ) + 1 ).lower(); + const TQString ext = path.mid( path.findRev( '.' ) + 1 ).lower(); - return list.tqcontains( ext ); + return list.contains( ext ); } const Engine::Scope& |