On Friday 28 January 2005 10:30, David Faure wrote: > Wouldn't it be simpler to determine the mimetype in KHTMLPart, before > emitting popupMenu? After all, this is where args.serviceType = > QString::fromLatin1( "text/html" ); is hardcoded, and where it should be > set correctly. That's a far better way, many thanks for the pointer. Revised patch attached to bug (http://bugs.kde.org/attachment.cgi?id=9348&action=view). Regards, -- Jonathan Marten work: currently looking http://www.keelhaul.demon.co.uk/ play: jjm@keelhaul.demon.co.uk