mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 22:53:55 -07:00
save sets dialog size (#4791)
* save sets dialog size * reset sorting when restoring * add to gitignore
This commit is contained in:
parent
421da882d8
commit
70ab02987a
9 changed files with 61 additions and 8 deletions
|
|
@ -68,6 +68,16 @@ void LayoutsSettings::setDeckEditorDbHeaderState(const QByteArray &value)
|
|||
setValue(value, "layouts/deckEditorDbHeader_state");
|
||||
}
|
||||
|
||||
const QByteArray LayoutsSettings::getSetsDialogHeaderState()
|
||||
{
|
||||
return getValue("layouts/setsDialogHeader_state").toByteArray();
|
||||
}
|
||||
|
||||
void LayoutsSettings::setSetsDialogHeaderState(const QByteArray &value)
|
||||
{
|
||||
setValue(value, "layouts/setsDialogHeader_state");
|
||||
}
|
||||
|
||||
void LayoutsSettings::setGamePlayAreaGeometry(const QByteArray &value)
|
||||
{
|
||||
setValue(value, "layouts/gameplayarea_geometry");
|
||||
|
|
@ -183,4 +193,4 @@ const QSize LayoutsSettings::getReplayReplaySize()
|
|||
void LayoutsSettings::setReplayReplaySize(const QSize &value)
|
||||
{
|
||||
setValue(value, "layouts/replayplayarea_ReplaySize");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue