PageSettings: split top_layout into two boolean flags
commitc1c2bef301174dd936712efd58f67a1fed3dd8f9
authorMax Kellermann <max@duempel.org>
Wed, 20 Feb 2013 18:46:08 +0000 (20 19:46 +0100)
committerMax Kellermann <max@duempel.org>
Wed, 20 Feb 2013 19:03:34 +0000 (20 20:03 +0100)
tree53972c474d61f9ed2a10dd98973962860a1542f5
parentc3146345c012fdda62a318bf7a28b24c05bb3de4
PageSettings: split top_layout into two boolean flags

The code gets simpler by splitting the enum into the two flags "page
valid" and "infoboxed enabled".  The profile loader/saver gets some
migration glue code.  The profile format is unmodified, may be changed
later.
src/Dialogs/Settings/Panels/PagesConfigPanel.cpp
src/PageSettings.cpp
src/PageSettings.hpp
src/Pages.cpp
src/Profile/PageProfile.cpp