From ffa9a1bb9c0b99f49cca1d9fca9cd4cb1d7582c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 24 Jul 2007 22:33:40 +0000 Subject: Work around broken LADSPA plugins with screwy range/default (fix ticket 59). Fix undefined reference to metadata request (from last commit). git-svn-id: http://svn.drobilla.net/lad/ingen@615 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/LoadPluginWindow.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libs/gui') diff --git a/src/libs/gui/LoadPluginWindow.cpp b/src/libs/gui/LoadPluginWindow.cpp index cc7c7e71..194b6636 100644 --- a/src/libs/gui/LoadPluginWindow.cpp +++ b/src/libs/gui/LoadPluginWindow.cpp @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include "interface/EngineInterface.hpp" #include "client/NodeModel.hpp" #include "client/PatchModel.hpp" @@ -28,7 +28,8 @@ #include "PatchWindow.hpp" #include "PatchView.hpp" #include "PatchCanvas.hpp" -using std::cout; using std::cerr; using std::endl; + +using namespace std; namespace Ingen { @@ -379,7 +380,7 @@ LoadPluginWindow::filter_changed() _plugins_liststore->clear(); string search = _search_entry->get_text(); - transform(search.begin(), search.end(), search.begin(), toupper); + transform(search.begin(), search.end(), search.begin(), ::toupper); // Get selected criteria const Gtk::TreeModel::Row row = *(_filter_combo->get_active()); @@ -412,7 +413,7 @@ LoadPluginWindow::filter_changed() throw; } - transform(field.begin(), field.end(), field.begin(), toupper); + transform(field.begin(), field.end(), field.begin(), ::toupper); if (field.find(search) != string::npos) { model_iter = _plugins_liststore->append(); -- cgit v1.2.1