Refactor function name

This commit is contained in:
Angela Mazzurco 2017-09-11 16:43:38 +02:00
parent 4642f2ab2a
commit be7c6a966f
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public slots:
return encoded;
}
static QString faceImage (QVariantList onloads, int size)
static QString base64FaceAvatarGenerator (QVariantList onloads, int size)
{
QImage result(size, size, QImage::Format_ARGB32_Premultiplied);
QPainter painter(&result);

View File

@ -134,7 +134,7 @@ Item
var url = src(gender, i, data[i+1])
onloads.push(url)
}
var base64Image = androidImagePicker.faceImage(onloads, canvasSizes)
var base64Image = androidImagePicker.b64AvatarGen(onloads, canvasSizes)
callback("data:image/png;base64,"+base64Image)
}