diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 5 | ||||
-rw-r--r-- | src/gui/PatchCanvas.cpp | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 41281140..2c1d9ae7 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -228,16 +228,11 @@ LoadPluginWindow::set_row(Gtk::TreeModel::Row& row, SharedPtr<PluginModel> plugi const Atom& name = plugin->get_property(uris.doap_name); if (name.is_valid() && name.type() == Atom::STRING) row[_plugins_columns._col_name] = name.get_string(); - else if (plugin->type() == Plugin::LADSPA) - App::instance().engine()->request_property(plugin->uri(), uris.doap_name); switch (plugin->type()) { case Plugin::LV2: row[_plugins_columns._col_type] = "LV2"; break; - case Plugin::LADSPA: - row[_plugins_columns._col_type] = "LADSPA"; - break; case Plugin::Internal: row[_plugins_columns._col_type] = "Internal"; break; diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index 0e1c6fbc..3ee6e3cb 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -696,7 +696,6 @@ PatchCanvas::paste() if (!_patch->path().is_root()) clipboard.put(_patch->path(), props); - boost::optional<Raul::Path> data_path; boost::optional<Raul::Path> parent; boost::optional<Raul::Symbol> symbol; @@ -705,7 +704,7 @@ PatchCanvas::paste() } ClashAvoider avoider(*App::instance().store().get(), clipboard, &clipboard); - parser->parse_string(App::instance().world(), &avoider, str, Path().str(), data_path, + parser->parse_string(App::instance().world(), &avoider, str, Path().str(), parent, symbol); for (Store::iterator i = clipboard.begin(); i != clipboard.end(); ++i) { |