From 80749195e606cfb0cf630671306f59778802bab6 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 13 May 2015 11:44:42 -0700 Subject: [PATCH] don't ddeTracker->init if HAVE_DDE isn't set --- interface/src/Application.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 39f0ff664b..b22f1d965e 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -603,9 +603,11 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : auto faceshiftTracker = DependencyManager::get(); faceshiftTracker->init(); connect(faceshiftTracker.data(), &FaceTracker::muteToggled, this, &Application::faceTrackerMuteToggled); +#ifdef HAVE_DDE auto ddeTracker = DependencyManager::get(); ddeTracker->init(); connect(ddeTracker.data(), &FaceTracker::muteToggled, this, &Application::faceTrackerMuteToggled); +#endif }