mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Refactor function name
This commit is contained in:
parent
4642f2ab2a
commit
be7c6a966f
@ -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);
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user