From 08759b27bc19de59bfd17fc929ee7e0021181ffb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Apr 2011 21:07:07 +0000 Subject: Remove EngineInterface::activate() and EngineInterface::deactivate(). Use set_property("ingen:driver", "ingen:enabled", true | false) instead. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3171 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ConnectWindow.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index e5ade51c..f93ebf4c 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -288,13 +288,17 @@ ConnectWindow::disconnect() void ConnectWindow::activate() { - App::instance().engine()->activate(); + App::instance().engine()->set_property("ingen:driver", + "ingen:enabled", + true); } void ConnectWindow::deactivate() { - App::instance().engine()->deactivate(); + App::instance().engine()->set_property("ingen:driver", + "ingen:enabled", + false); } void -- cgit v1.2.1