ShowImage no longer uses the weird direct bitmap storage in the clipboard.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37121 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -480,9 +480,7 @@ SudokuView::CopyToClipboard()
|
||||
// first as bitmap as we need to archive to the message
|
||||
if (SaveTo(mio, kExportAsBitmap) >= B_OK) {
|
||||
mio.Seek(0LL, SEEK_SET);
|
||||
// ShowImage wants this... nasty
|
||||
clip->Unflatten(&mio);
|
||||
// ArtPaint uses that
|
||||
// ShowImage, ArtPaint & WonderBrush use that
|
||||
clip->AddData("image/bitmap", B_MESSAGE_TYPE, mio.Buffer(), mio.BufferLength());
|
||||
// Becasso uses that ?
|
||||
clip->AddData("image/x-be-bitmap", B_MESSAGE_TYPE, mio.Buffer(), mio.BufferLength());
|
||||
|
||||
Reference in New Issue
Block a user