Le Wednesday 28 August 2002 11:56, Ben Reser a écrit :
> On Tue, Aug 27, 2002 at 11:06:01PM -0700, Ben Reser wrote:
> > --- khtml/khtml_ext.cpp.orig        2002-08-27 23:00:20.000000000 -0700
> > +++ khtml/khtml_ext.cpp     2002-08-27 23:01:57.000000000 -0700
> > @@ -386,7 +386,12 @@
> >  #ifndef QT_NO_MIMECLIPBOARD
> >    // Set it in both the mouse selection and in the clipboard
> >    QApplication::clipboard()->setSelectionMode(true);
> > -  QApplication::clipboard()->setData( KURLDrag::newDrag( lst ) );
> > +  // Ben Reser <[EMAIL PROTECTED]>:
> > +  // Don't use the below method for now.  The clipboard isn't setting
> > +  // the XA_STRING type for some reason and it brakes middle click
> > pasting +  // QApplication::clipboard()->setData( KURLDrag::newDrag( lst
> > ) ); +  // This temporarily works around the issue:
> > +  QApplication::clipboard()->setText(d->m_imageURL.url());
> >    QApplication::clipboard()->setSelectionMode(false);
> >    QApplication::clipboard()->setData( KURLDrag::newDrag( lst ) );
> >  #else
>
> I really ought to read the patches before I post them... This is missing
> a chunk.  So it'll only fix the CopyImageLocation menu item, Oops. 
> Attached is the full patch. :)

I don't know this code : ask to kde developper please.

Regards.

Reply via email to