Merge pull request #4639 from aws-lumberyard-dev/Atom/guthadam/thumbnail_bus_passes_const_qpixmap
Updated thumbnail notification bus to use const QPixmap&
This commit is contained in:
@@ -67,7 +67,7 @@ namespace ImageProcessingAtom
|
||||
m_renderWait.acquire();
|
||||
}
|
||||
|
||||
void ImageThumbnail::ThumbnailRendered(QPixmap& thumbnailImage)
|
||||
void ImageThumbnail::ThumbnailRendered(const QPixmap& thumbnailImage)
|
||||
{
|
||||
m_pixmap = thumbnailImage;
|
||||
m_renderWait.release();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace ImageProcessingAtom
|
||||
~ImageThumbnail() override;
|
||||
|
||||
//! AzToolsFramework::ThumbnailerRendererNotificationBus::Handler overrides...
|
||||
void ThumbnailRendered(QPixmap& thumbnailImage) override;
|
||||
void ThumbnailRendered(const QPixmap& thumbnailImage) override;
|
||||
void ThumbnailFailedToRender() override;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user