aboutsummaryrefslogtreecommitdiff
path: root/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user.cpp')
-rw-r--r--user.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/user.cpp b/user.cpp
index b2c0dc1e..8c8a7fdb 100644
--- a/user.cpp
+++ b/user.cpp
@@ -90,6 +90,11 @@ QString User::bridged() const {
return d->bridged;
}
+Avatar& User::avatarObject()
+{
+ return d->avatar;
+}
+
QPixmap User::avatar(int width, int height)
{
return d->avatar.get(width, height, [=] { emit avatarChanged(this); });