diff options
author | jan Iversen <jani@apache.org> | 2018-06-13 17:06:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-04 05:32:30 +0800 |
commit | 889a0bb67a45f3e1637714331a5c620cc257df23 (patch) | |
tree | ec7f05249cb58664417e048764e80d9b94129a1b /profile-widget | |
parent | 36d7f6eafb1a5e9c7145bc61243674382ae00421 (diff) | |
download | subsurface-889a0bb67a45f3e1637714331a5c620cc257df23.tar.gz |
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
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |