Skip to content

Commit

Permalink
Fix cloud user information @variables gone missing
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jun 19, 2024
1 parent c39e379 commit de5b46f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/utils/qfieldcloudutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ struct CloudUserInformation
{
Q_GADGET

Q_PROPERTY( QString username MEMBER username )
Q_PROPERTY( QString email MEMBER email )

public:
CloudUserInformation() = default;

CloudUserInformation( const QString &username, const QString &email )
: username( username )
, email( email )
{}

explicit CloudUserInformation( const QJsonObject cloudUserInformation )
Expand Down

0 comments on commit de5b46f

Please sign in to comment.