1
Fork 0
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:
Joshua Goins 2024-03-23 12:44:34 -04:00
parent 01de7148fe
commit 78e8babffc
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -42,7 +42,7 @@ FormCard.FormCardPage {
}
FormCard.FormDelegateSeparator {
visible: layout.index + 1 < LauncherCore.profileManager.numProfiles()
visible: layout.index + 1 < LauncherCore.profileManager.numProfiles
}
}
}