Commit a3a16ab4 authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Adjust naming of multiple accounts role to be more expected

parent e495fdb8
......@@ -56,7 +56,7 @@ QHash<int, QByteArray> ProvidersModel::roleNames() const
{DisplayNameRole, "displayName"},
{DescriptionRole, "description"},
{IconNameRole, "iconName"},
{SupportsMultipleLoginsRole, "supportsMultipleLogins"},
{SupportsMultipleAccountsRole, "supportsMultipleAccounts"},
{AccountsCountRole, "accountsCount"}
return roleNames;
......@@ -89,7 +89,7 @@ QVariant ProvidersModel::data(const QModelIndex& index, int role) const
case IconNameRole:
case SupportsMultipleLoginsRole:
case SupportsMultipleAccountsRole:
case AccountsCountRole:
......@@ -35,7 +35,7 @@ class KACCOUNTS_EXPORT ProvidersModel : public QAbstractListModel
DisplayNameRole, ///< The human-readable name for this provider
DescriptionRole, ///< A (usually single sentence) description of this provider
IconNameRole, ///< The name of the icon to be used for this provider (an XDG Icon Spec style name)
SupportsMultipleLoginsRole, ///< Whether or not this provider supports multiple simultaneous accounts
SupportsMultipleAccountsRole, ///< Whether or not this provider supports multiple simultaneous accounts
AccountsCountRole ///< The number of accounts which already exist for this provider
explicit ProvidersModel(QObject* parent = nullptr);
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