diff options
Diffstat (limited to 'kget/kget_plug_in/links.cpp')
-rw-r--r-- | kget/kget_plug_in/links.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/kget_plug_in/links.cpp b/kget/kget_plug_in/links.cpp index 12600353..b1410cef 100644 --- a/kget/kget_plug_in/links.cpp +++ b/kget/kget_plug_in/links.cpp @@ -24,17 +24,17 @@ LinkItem::LinkItem( DOM::Element link ) // somehow getElementsByTagName("#text") doesn't work :( - DOM::NodeList children = link.childNodes(); - for ( uint i = 0; i < children.length(); i++ ) + DOM::NodeList tqchildren = link.childNodes(); + for ( uint i = 0; i < tqchildren.length(); i++ ) { - DOM::Node node = children.item( i ); + DOM::Node node = tqchildren.item( i ); if ( node.nodeType() == DOM::Node::TEXT_NODE ) text.append( node.nodeValue().string() ); } // force "local file" mimetype determination KMimeType::Ptr mt = KMimeType::findByURL( url, 0, true, true); - icon = mt->icon( TQString::null, false ); // dummy parameters + icon = mt->icon( TQString(), false ); // dummy parameters mimeType = mt->comment(); m_valid = true; |