[Patch:] KClipboard / klipper / kpaint bug fixes

Helge Deller deller at gmx.de
Mon Oct 28 23:30:35 GMT 2002


On Tuesday 29 October 2002 00:14, Carsten Pfeiffer wrote:
> > > Regarding the removal of KClipboard::MimeSource, you can get a crash
> > > when you do something like clip->setText( clip->text(
> > > QClipboard::Selection ), QClipboard::Clipboard ).
> >
> > Hmm, people doing this should be shot :-)
> > Anyway, clip->text() returns a QString and thus it wouldn't crash.
>
> Well, it does, I tried that. This happened when klipper read the clipboard
> contents after the application owning it exited, IIRC.
>
> > Although using something like clip->setData(
> > clip->data(QClipboard::Selection) ) might give problems.
>
> KClipboard::MimeSource certainly cures those problems.

Ok, I'll check that tomorrow.

Helge




More information about the kde-core-devel mailing list