diff options
author | Robert C. Helling <helling@atdotde.de> | 2017-01-07 03:11:19 +0100 |
---|---|---|
committer | Subsurface <dirk@subsurface-divelog.org> | 2017-01-06 20:43:23 -0800 |
commit | 935734100f07092800ec4467b88c59a9a4efd572 (patch) | |
tree | 20a3398c4f7bece093928f754a84e975f74f6ffb /core/qthelper.cpp | |
parent | bb4bf639c333bee28d398c3670f52797d726b126 (diff) | |
download | subsurface-935734100f07092800ec4467b88c59a9a4efd572.tar.gz |
Rename prefs.deco_mode to prefs.planner_deco_mode
This is to avoid confusion with planner.display_deco_mode.
When accessing the "current deco mode" use the decoMode()
helper function.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r-- | core/qthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index fc9675279..1034316bb 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -1439,7 +1439,7 @@ extern "C" bool in_planner() extern "C" enum deco_mode decoMode() { - return in_planner() ? prefs.deco_mode : prefs.display_deco_mode; + return in_planner() ? prefs.planner_deco_mode : prefs.display_deco_mode; } void init_proxy() |