mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
Better debug messages for Android app
This commit is contained in:
parent
ac9a8437fa
commit
c39b3e5fb7
@ -160,7 +160,8 @@ QtObject
|
||||
|
||||
function startDistantChat (own_gxs_id, gxs_id, name, cb)
|
||||
{
|
||||
console.log("startDistantChat()")
|
||||
console.log( "startDistantChat(own_gxs_id, gxs_id, name, cb)",
|
||||
own_gxs_id, gxs_id, name, cb )
|
||||
chatHelper.gxs_id = gxs_id
|
||||
chatHelper.name = name
|
||||
chatHelper.cb = cb
|
||||
|
@ -54,18 +54,18 @@ public slots:
|
||||
|
||||
static QString b64AvatarGen (QVariantList onloads, int size)
|
||||
{
|
||||
qDebug() << "b64AvatarGen(): Generating face Avatar from";
|
||||
qDebug() << "Generating hash face avatar";
|
||||
|
||||
QImage result(size, size, QImage::Format_ARGB32_Premultiplied);
|
||||
QPainter painter(&result);
|
||||
|
||||
|
||||
int counter = 0;
|
||||
for (QVariantList::iterator j = onloads.begin(); j != onloads.end(); j++)
|
||||
for(QVariantList::iterator j = onloads.begin(); j != onloads.end(); ++j)
|
||||
{
|
||||
QImage image = getImage (":/"+(*j).toString());
|
||||
painter.drawImage(0, 0, image); // xi, yi is the position for imagei
|
||||
counter++;
|
||||
++counter;
|
||||
}
|
||||
painter.end();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user