mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:03:23 +00:00
core/profile: move PP_GRAPHS_ENABLED from pref.h
PP_GRAPHS_ENABLED is only used in profilewidget2.cpp make local to profilewidget.cpp Signed-off-by: Jan Iversen <jani@apache.org>core/profile: move PP_GRAPHS_ENABLED from pref.h
This commit is contained in:
parent
36d7f6eafb
commit
889a0bb67a
2 changed files with 2 additions and 2 deletions
|
@ -223,8 +223,6 @@ enum cloud_status {
|
|||
|
||||
extern struct preferences prefs, default_prefs, git_prefs;
|
||||
|
||||
#define PP_GRAPHS_ENABLED (prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe)
|
||||
|
||||
extern const char *system_divelist_default_font;
|
||||
extern double system_divelist_default_font_size;
|
||||
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
#endif
|
||||
#include <QtWidgets>
|
||||
|
||||
#define PP_GRAPHS_ENABLED (prefs.pp_graphs.po2 || prefs.pp_graphs.pn2 || prefs.pp_graphs.phe)
|
||||
|
||||
// a couple of helpers we need
|
||||
extern bool haveFilesOnCommandLine();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue