diff options
Diffstat (limited to 'beos/thumbnail.cpp')
-rw-r--r-- | beos/thumbnail.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/beos/thumbnail.cpp b/beos/thumbnail.cpp index 12a7320ce..dacefed41 100644 --- a/beos/thumbnail.cpp +++ b/beos/thumbnail.cpp @@ -56,8 +56,7 @@ extern status_t ScaleBitmap(const BBitmap& inBitmap, BBitmap& outBitmap); * \param bitmap the bitmap to draw to * \param url the URL the thumnail belongs to, or NULL */ -bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, - nsurl *url) +bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap) { BBitmap *thumbnail; BBitmap *small; @@ -150,10 +149,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, thumbnail->UnlockBits(); small->UnlockBits(); - /* register the thumbnail with the URL */ - if (url) - urldb_set_thumbnail(url, bitmap); - bitmap_modified(bitmap); // cleanup |