aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 9928a90..4e4bc07 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -34,16 +34,11 @@ main(int argc, char** argv)
SharedPtr<JackDriver> driver(new JackDriver());
- SharedPtr<Machina::Machine> m(new Machine());
-
- m->activate();
-
MidiAction::set_driver(driver);
- driver->set_machine(m);
driver->attach("machina");
- SharedPtr<Engine> engine(new Engine(driver, m));
+ SharedPtr<Engine> engine(new Engine(driver));
// Launch GUI
try {