mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-20 21:02:02 +03:00
f5860928d9
By using properties and property bindings the QML code gets more declarative rather than imperative, which is considered better. This patch: - Introduces a currentUserId property in UserModel that replaces the equivalent Q_INVOKABLE call - Introduces an avatar property in User that contains the avatar's image provider url without any fallback - Introduces new image provider urls for fallback images - Moves the fallback image selection to QML since we want different fallbacks according to where it is used - Wires up the necessary signals to propagate a changing avatar Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de> |
||
---|---|---|
.. | ||
ActivityData.cpp | ||
ActivityData.h | ||
ActivityListModel.cpp | ||
ActivityListModel.h | ||
HeaderButton.qml | ||
NotificationHandler.cpp | ||
NotificationHandler.h | ||
UserLine.qml | ||
UserModel.cpp | ||
UserModel.h | ||
Window.qml |