Various fixes

Took 14 minutes
This commit is contained in:
Lukas Brübach 2026-08-09 03:16:22 +02:00
parent 4fca8e2a3a
commit 0909d356e0
15 changed files with 90 additions and 78 deletions

View file

@ -246,6 +246,11 @@ QStringList InterfaceSettings::getUserListExpandedSections() const
.toStringList();
}
bool InterfaceSettings::getTutorialCompleted() const
{
return getValue("tutorialCompleted", QString(), QString(), false).toBool();
}
void InterfaceSettings::setUseTearOffMenus(bool _useTearOffMenus)
{
setValue(_useTearOffMenus, "useTearOffMenus");
@ -469,3 +474,8 @@ void InterfaceSettings::setUserListExpandedSections(const QStringList &sections)
{
setValue(sections, "userListExpandedSections");
}
void InterfaceSettings::setTutorialCompleted(bool value)
{
setValue(value, "tutorialCompleted");
}