mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Fix numProfiles call used in profiles page
(cherry picked from commit 2d217df1c6
)
This commit is contained in:
parent
01de7148fe
commit
78e8babffc
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
Q_INVOKABLE void deleteProfile(Profile *profile);
|
||||
|
||||
[[nodiscard]] QList<Profile *> profiles() const;
|
||||
[[nodiscard]] Q_INVOKABLE int numProfiles() const;
|
||||
[[nodiscard]] int numProfiles() const;
|
||||
|
||||
Q_INVOKABLE bool canDelete(Profile *account) const;
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ FormCard.FormCardPage {
|
|||
}
|
||||
|
||||
FormCard.FormDelegateSeparator {
|
||||
visible: layout.index + 1 < LauncherCore.profileManager.numProfiles()
|
||||
visible: layout.index + 1 < LauncherCore.profileManager.numProfiles
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue