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