1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/NhekoGlobalObject.h b/src/ui/NhekoGlobalObject.h
index 05a0c050..9875507e 100644
--- a/src/ui/NhekoGlobalObject.h
+++ b/src/ui/NhekoGlobalObject.h
@@ -13,6 +13,7 @@ class Nheko : public QObject
Q_PROPERTY(QPalette colors READ colors NOTIFY colorsChanged)
Q_PROPERTY(QPalette inactiveColors READ inactiveColors NOTIFY colorsChanged)
+ Q_PROPERTY(int avatarSize READ avatarSize CONSTANT)
public:
Nheko();
@@ -20,6 +21,8 @@ public:
QPalette colors() const;
QPalette inactiveColors() const;
+ int avatarSize() const { return 40; }
+
Q_INVOKABLE void openLink(QString link) const;
signals:
|