summaryrefslogtreecommitdiffstats
path: root/src/gui/ingen_gui_lv2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ingen_gui_lv2.cpp')
-rw-r--r--src/gui/ingen_gui_lv2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp
index c90efa4b..72d3fc66 100644
--- a/src/gui/ingen_gui_lv2.cpp
+++ b/src/gui/ingen_gui_lv2.cpp
@@ -168,9 +168,9 @@ instantiate(const LV2UI_Descriptor* descriptor,
ui->app->store()->put(ingen::main_uri(), props);
// Create a GraphBox for the root and set as the UI widget
- SPtr<const ingen::client::GraphModel> root =
- std::dynamic_pointer_cast<const ingen::client::GraphModel>(
- ui->app->store()->object(Raul::Path("/")));
+ auto root = std::dynamic_pointer_cast<const ingen::client::GraphModel>(
+ ui->app->store()->object(Raul::Path("/")));
+
ui->view = ingen::gui::GraphBox::create(*ui->app, root);
ui->view->unparent();
*widget = ui->view->gobj();