From kde-core-devel Mon Oct 28 23:30:35 2002 From: Helge Deller Date: Mon, 28 Oct 2002 23:30:35 +0000 To: kde-core-devel Subject: Re: [Patch:] KClipboard / klipper / kpaint bug fixes X-MARC-Message: https://marc.info/?l=kde-core-devel&m=103584793922402 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