Skip to content
Snippets Groups Projects
jdenticonplugin.cpp 325 B
Newer Older
#include "jdenticonplugin.h"
#include "identicon.h"

QString
JdenticonPlugin::generate(const QString &message, uint16_t size)
{
Joe Donofry's avatar
Joe Donofry committed
    //QByteArray byteArr = QByteArray::fromStdString(message.toStdString());
    QString copy = message;
    Identicon identicon(copy, size);
    return identicon.generateSvg(identicon, false);
}