summaryrefslogtreecommitdiff
path: root/gui/imageviewer.cpp
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-05-27 20:52:51 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-05-27 20:52:51 +0100
commit93a7c0c9f092fb2454812085da749ac7d5ba7899 (patch)
tree1e5e6ae7906f594904967b0e1919b5427dfba66b /gui/imageviewer.cpp
parent4734e110ce60fa004d67db0a5e39e2e8d03cec9e (diff)
gui: Remove base64 from method/member names.
We no longer use base64.
Diffstat (limited to 'gui/imageviewer.cpp')
-rw-r--r--gui/imageviewer.cpp4
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();