mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
Various fixes
Took 14 minutes
This commit is contained in:
parent
4fca8e2a3a
commit
0909d356e0
15 changed files with 90 additions and 78 deletions
|
|
@ -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 §ions)
|
|||
{
|
||||
setValue(sections, "userListExpandedSections");
|
||||
}
|
||||
|
||||
void InterfaceSettings::setTutorialCompleted(bool value)
|
||||
{
|
||||
setValue(value, "tutorialCompleted");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue