From kfm-devel Sat Jan 29 19:56:51 2005 From: "Jonathan Marten" Date: Sat, 29 Jan 2005 19:56:51 +0000 To: kfm-devel Subject: Re: Popup menu MIME types Message-Id: <200501291956.51751.jjm () keelhaul ! demon ! co ! uk> X-MARC-Message: https://marc.info/?l=kfm-devel&m=110702857421602 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