Commit a7cf8653 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2

profile: implement account pixbuf method

Change-Id: I6b63cb1ba6bef7c5fe5cdf5e8e9ead2b48377c0e
Tuleap: #531
parent e14cd6b3
......@@ -22,7 +22,6 @@
#include <QtCore/QMetaType>
#include <person.h>
#include <memory>
#include <call.h>
#include <contactmethod.h>
......@@ -178,4 +177,10 @@ QVariant PixbufManipulator::decorationRole(const Person* p)
return QVariant::fromValue(scaleAndFrame(photo, imgSize_));
}
QVariant PixbufManipulator::decorationRole(const Account* acc)
{
Q_UNUSED(acc)
return QVariant();
}
} // namespace Interfaces
......@@ -51,6 +51,7 @@ public:
QVariant decorationRole(const Call* c) override;
QVariant decorationRole(const ContactMethod* cm) override;
QVariant decorationRole(const Person* p) override;
QVariant decorationRole(const Account* acc) override;
private:
QImage fallbackAvatar_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment