diff options
Diffstat (limited to 'gui/imageviewer.cpp')
-rw-r--r-- | gui/imageviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/imageviewer.cpp b/gui/imageviewer.cpp index 4f47bc02..6953c009 100644 --- a/gui/imageviewer.cpp +++ b/gui/imageviewer.cpp @@ -61,10 +61,10 @@ ImageViewer::~ImageViewer() delete m_image; } -void ImageViewer::setBase64Data(const QByteArray &base64) +void ImageViewer::setData(const QByteArray &data) { delete m_image; - m_image = ApiSurface::imageFromBase64(base64); + m_image = ApiSurface::imageFromData(data); m_convertedImage = ApiSurface::qimageFromRawImage(m_image); m_pixelWidget->setSurface(m_convertedImage); updateGeometry(); |