diff options
-rw-r--r-- | core/pref.h | 2 | ||||
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/pref.h b/core/pref.h index ae56d3c25..060528939 100644 --- a/core/pref.h +++ b/core/pref.h @@ -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; diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index 40cb00162..bf8649834 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -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(); |