From df800bdde251e2d3de348a2ed4d78abde49238f9 Mon Sep 17 00:00:00 2001 From: Jaime Jofre Date: Wed, 1 Jan 2014 15:10:58 -0500 Subject: [PATCH] Should only auto refresh filters if we have Lucene configured to prevent core dump --- src/LTMSidebar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/LTMSidebar.cpp b/src/LTMSidebar.cpp index d6e9bbd06..bbf882fa8 100644 --- a/src/LTMSidebar.cpp +++ b/src/LTMSidebar.cpp @@ -180,7 +180,9 @@ LTMSidebar::LTMSidebar(Context *context) : QWidget(context->mainWindow), context connect(eventTree,SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(eventPopup(const QPoint &))); // GC signal +#ifdef GC_HAVE_LUCENE connect(context->athlete->metricDB, SIGNAL(dataChanged()), this, SLOT(autoFilterRefresh())); +#endif connect(context, SIGNAL(configChanged()), this, SLOT(configChanged())); connect(seasons, SIGNAL(seasonsChanged()), this, SLOT(resetSeasons())); connect(context->athlete, SIGNAL(namedSearchesChanged()), this, SLOT(resetFilters()));