From 889a0bb67a45f3e1637714331a5c620cc257df23 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Wed, 13 Jun 2018 17:06:46 +0200 Subject: 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 core/profile: move PP_GRAPHS_ENABLED from pref.h --- profile-widget/profilewidget2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'profile-widget/profilewidget2.cpp') 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 +#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(); -- cgit v1.2.3-70-g09d2